From: "Orion Poplawski" <orion(a)cora.nwra.com>
To: "Mikolaj Izdebski" <mizdebsk(a)redhat.com>, "Fedora Java
Development List" <java-devel(a)lists.fedoraproject.org>
Sent: Monday, April 7, 2014 10:19:04 PM
Subject: Re: [fedora-java] Java 8 testing in Fedora
On 04/07/2014 12:17 PM, Orion Poplawski wrote:
> On 04/04/2014 05:23 AM, Mikolaj Izdebski wrote:
>> On 04/02/2014 08:16 PM, Deepak Bhole wrote:
>>>> 3) Some new methods were added, which breaks existing code. Examples:
>>>> java.util.Map - remove(K,V)
>>>> java.util.List - sort(Comparator)
>>>> java.lang.reflect.TypeVariable - getAnnotatedBounds()
>>>> sun.security.jgss.spi.GSSCredentialSpi - impersonate(GSSNameSpi)
>>>>
>>>> Solution: patch code to implement new methods
>>>>
>>>
>>> The java.util* ones use the new default mechanism and should pose no
>>> problem afaik. Can you post a snippet of the error message?
>>>
>>> The last 2 will require code changes to accommodate those methods.
>>> Thankfully there should be far fewer cases of those than the first 2.
>>
>> Duplicate methods named spliterator with the parameters () and () are
>> inherited from the types
Collection<LazyExtensionManager.Descriptor<E>>
>> and Iterable<LazyExtensionManager.Descriptor<E>>
>>
>> Package: eclipse-dltk
>>
>
> Seeing similar with eclipse-photran:
>
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-compiler-plugin:0.20.0:compile (default-compile)
> on project org.eclipse.photran.core.vpg: Compilation failure:
> Compilation failure:
> [ERROR]
>
/builddir/build/BUILD/org.eclipse.photran-5313e0561fbb3d888ecf1817c6101a36e0b89a07/org.eclipse.photran.core.vpg/parser/org/eclipse/photran/internal/core/parser/IASTListNode.java:[17]
> [ERROR] public interface IASTListNode<T> extends List<T>, IASTNode
> [ERROR] ^^^^^^^^^^^^
> [ERROR] Duplicate methods named spliterator with the parameters () and
> () are inherited from the types List<T> and Collection<T>
>
>
> Is there a generic fix for this type of error?
>
Is this needed in Fedora?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=409473 . It's WIP
and should enter fedora in a week or two mostly.
Alexander Kurtakov
Red Hat Eclipse team
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301
http://www.cora.nwra.com
--
java-devel mailing list
java-devel(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/java-devel