Is Hudson using JDK6? I'm tempted to think that it is because it was compiling with the two JDK6 features that we committed fixes for today. Will forcing it to be using JDK5 fix it?
On Tue, Nov 23, 2010 at 3:37 PM, Sim IJskes - QCG <s...@qcg.nl> 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? > > -- > QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl > Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397 >