Re: Java 8 testing in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
begin:vcard
fn:gil
n:;gil
email;internet:puntogil@xxxxxxxxx
version:2.1
end:vcard

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux