By the way, I'm still getting build failures on the PyLucene trunk on OS
X 10.5 with the latest Java compiler:
[...]
common.compile-core:
compile-core:
compile-test:
[mkdir] Created dir:
/private<http://buildbot.parc.xerox.com/job/leopard-pylucene-test/ws/pylucene/trunk/lucene-java-3.1/build/classes/test>
[javac] Compiling 248 source files to
/private<http://buildbot.parc.xerox.com/job/leopard-pylucene-test/ws/pylucene/trunk/lucene-java-3.1/build/classes/test>
[javac] An exception has occurred in the compiler (1.5.0_16). Please file a
bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
after checking the Bug Parade for duplicates. Include your program and the
following diagnostic in your report. Thank you.
[javac] java.lang.AssertionError: {unused}
[javac] at
com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.visitArray(TreeMaker.java:634)
[javac] at
com.sun.tools.javac.code.Attribute$Array.accept(Attribute.java:124)
[javac] at
com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.translate(TreeMaker.java:637)
[javac] at
com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.visitCompoundInternal(TreeMaker.java:628)
[javac] at
com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.translate(TreeMaker.java:641)
[javac] at
com.sun.tools.javac.tree.TreeMaker.Annotation(TreeMaker.java:649)
[javac] at
com.sun.tools.javac.tree.TreeMaker.Annotations(TreeMaker.java:570)
[javac] at com.sun.tools.javac.tree.TreeMaker.VarDef(TreeMaker.java:554)
[javac] at
com.sun.tools.javac.comp.Lower.visitIterableForeachLoop(Lower.java:2892)
[javac] at
com.sun.tools.javac.comp.Lower.visitForeachLoop(Lower.java:2755)
[...]
Might be something to be aware of, though it looks like it's an
Oracle/Apple bug rather than a PyLucene bug. Or maybe Lucene doesn't
compile with Java 1.5 any more.
Bill