The qa tests require a minimum of JDK 1.6 to be compiled.
The jtreg suite requires JDK 1.5, it compiles with JDK 1.5
I like to compile everything using JDK 1.6, then run tests on JDK 1.5 as
well as JDK 1.6.
Alternatively build with JDK 1.5, then build the tests with JDK 1.6
The problem you see is a dependency on internal JDK implementation,
functionality we should investigate replacing somehow.
Cheers,
Peter.
Sim IJskes - QCG wrote:
On 23-11-10 14:58, Apache Hudson Server wrote:
See<https://hudson.apache.org/hudson/job/River-trunk-jdk1.5/3/changes>
[javac]
/zonestorage/hudson<https://hudson.apache.org/hudson/job/River-trunk-jdk1.5/ws/jtsk/trunk/qa/src/com/sun/jini/test/impl/reggie/NameServiceImpl.java>:29:
com.sun.jini.test.impl.reggie.NameServiceImpl is not abstract and
does not override abstract method lookupAllHostAddr(java.lang.String)
in sun.net.spi.nameservice.NameService
[javac] public class NameServiceImpl implements NameService {
[javac] ^
[javac]
/zonestorage/hudson<https://hudson.apache.org/hudson/job/River-trunk-jdk1.5/ws/jtsk/trunk/qa/src/com/sun/jini/test/impl/reggie/NameServiceImpl.java>:42:
lookupAllHostAddr(java.lang.String) in
com.sun.jini.test.impl.reggie.NameServiceImpl cannot implement
lookupAllHostAddr(java.lang.String) in
sun.net.spi.nameservice.NameService; attempting to use incompatible
return type
[javac] found : java.net.InetAddress[]
[javac] required: byte[][]
[javac] public InetAddress[] lookupAllHostAddr(String host)
[javac] ^
<http://www.answerspice.com/c119/1501917/eclipse-gives-me-a-weird-error-when-compiling%E2%80%A6>
Now what?