I opened bug report @ Oracle. The attached code does not compile with JDK 8-ea-b45, but compiles with JDK 5,6,7!
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Uwe Schindler [mailto:[email protected]] > Sent: Sunday, July 01, 2012 10:10 PM > To: [email protected] > Subject: RE: [JENKINS] Lucene-Solr-4.x-Linux-Java8-64 - Build # 1 - Failure! > > Correction: Our code is correct, just not easy to read. The variable can > never be > uninitialized, it is a bug in Java 8's javac. > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: [email protected] > > > > -----Original Message----- > > From: Uwe Schindler [mailto:[email protected]] > > Sent: Sunday, July 01, 2012 9:55 PM > > To: [email protected] > > Subject: RE: [JENKINS] Lucene-Solr-4.x-Linux-Java8-64 - Build # 1 - Failure! > > > > This one only happens with Java 8 on Lucene 4.x because of the > > sophisticated backwards layer. As it compiles fine in Java 6 and 7 we > > should open a bug report @ Oracle, but it is still a hint to a > > problem, the variable can indeed be uninitilized, so it’s a bug in our > > code that we should fix. I will attach the source file to the bug report and > commit a fix to 4.x branch. > > > > ----- > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: [email protected] > > > > > > > -----Original Message----- > > > From: Policeman Jenkins Server [mailto:[email protected]] > > > Sent: Sunday, July 01, 2012 8:52 PM > > > To: [email protected] > > > Subject: [JENKINS] Lucene-Solr-4.x-Linux-Java8-64 - Build # 1 - Failure! > > > > > > Build: > > > http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Linux-Java8-6 > > > 4/ > > > 1/ > > > > > > No tests ran. > > > > > > Build Log: > > > [...truncated 7210 lines...] > > > [javac] Compiling 650 source files to > > > /mnt/ssd/jenkins/workspace/Lucene- > > > Solr-4.x-Linux-Java8-64/checkout/lucene/build/core/classes/java > > > [javac] warning: [options] bootstrap class path not set in > > > conjunction with - source 1.6 > > > [javac] /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java8- > > > 64/checkout/lucene/core/src/java/org/apache/lucene/store/CompoundFil > > > eD > > > ire > > > ctory.java:178: error: variable mapping might not have been initialized > > > [javac] return mapping; > > > [javac] ^ > > > [javac] Note: Some input files use or override a deprecated API. > > > [javac] Note: Recompile with -Xlint:deprecation for details. > > > [javac] 1 error > > > > > > [...truncated 1 lines...] > > > BUILD FAILED > > > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java8- > > > 64/checkout/build.xml:29: The following error occurred while > > > executing this > > > line: > > > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java8- > > > 64/checkout/lucene/build.xml:50: The following error occurred while > > > executing this line: > > > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java8- > > > 64/checkout/lucene/common-build.xml:445: The following error > > > occurred while executing this line: > > > /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java8- > > > 64/checkout/lucene/common-build.xml:1315: Compile failed; see the > > > compiler error output for details. > > > > > > Total time: 10 seconds > > > Build step 'Execute shell' marked build as failure Archiving > > > artifacts Recording test results Email was triggered for: Failure > > > Sending email for trigger: Failure > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] For > > additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] For additional > commands, e-mail: [email protected]
Test.java
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
