[fedora-java] Java 8 testing in Fedora

puntogil at libero.it puntogil at libero.it
Fri Apr 4 23:41:13 UTC 2014


Il 04/04/2014 13:30, Mikolaj Izdebski ha scritto:
> On 04/04/2014 01:23 PM,  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>>
> Or another example:
>
>      [javac]
> /builddir/build/BUILD/jdom-JDOM-2.0.5/core/src/java/org/jdom2/ContentList.java:1241:
> error: sort(Comparator<? super F>) in ContentList.FilterList cannot
> implement sort(Comparator<? super E>) in List
>      [javac] 		final void sort(final Comparator<? super F> comp) {
>      [javac] 		           ^
>      [javac]   attempting to assign weaker access privileges; was public
>      [javac]   where F,E are type-variables:
>      [javac]     F extends Content declared in class ContentList.FilterList
>      [javac]     E extends Object declared in interface List
>
> Package: jdom2
>
hi
solved jdom2 problems
thanks to Mikolaj and jdom developers
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=6708879
regards
gil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: puntogil.vcf
Type: text/x-vcard
Size: 89 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20140405/258fc859/attachment.vcf>


More information about the java-devel mailing list