Compilation on Solaris 5.10 fails Hi,
I'm trying to compile the latest limewire on solaris 5.10 on sparc with ant 1.6.5 and java 1.6... this fails with the following error :
core > ant
Buildfile: build.xml
init:
checkjars:
core:
[javac] Compiling 427 source files to /homedirs/ikke/Downloads/core
[javac] /homedirs/ikke/Downloads/core/com/limegroup/gnutella/SavedFileManager.java:132: reference to addAll is ambiguous, both method addAll(java.util.Collection<? extends E>) in java.util.Collection<capture#598 of ? super com.limegroup.gnutella.URN> and method addAll(java.util.Collection<? extends E>) in java.util.Set<capture#598 of ? super com.limegroup.gnutella.URN> match
[javac] tempUrns.addAll(urns);
[javac] ^
[javac] Note: /homedirs/ikke/Downloads/core/com/limegroup/gnutella/downloader/PingRanker.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
/homedirs/ikke/Downloads/core/build.xml:46: Compile failed; see the compiler error output for details.
Total time: 1 minute 32 seconds
Does anyone have any ideas ? i know it needs to have -Xlint but where do i need to put that ?
THanks |