I'm using:
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-jigsaw-nightly-h3477-20150929-b83)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-jigsaw-nightly-h3477-20150929-b83, mixed mode)
bar.java:
public class bar {}
javac -release 7 -verbose bar.java
[parsing started RegularFileObject[bar.java]]
[parsing completed 23ms]
[search path for source files: .]
[total 55ms]
An exception has occurred in the compiler (1.9.0-ea). Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.IllegalStateException: java.lang.UnsupportedOperationException
at com.sun.tools.javac.file.JavacFileManager$3.next(JavacFileManager.java:1052)
at com.sun.tools.javac.file.JavacFileManager$3.next(JavacFileManager.java:1039)
at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:552)
at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:513)
at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:295)
at com.sun.tools.javac.code.ClassFinder.access$000(ClassFinder.java:74)
at com.sun.tools.javac.code.ClassFinder$1.complete(ClassFinder.java:166)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:579)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:299)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:509)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:255)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:270)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:483)
at com.sun.tools.javac.comp.Enter.main(Enter.java:467)
at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:962)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:839)
at com.sun.tools.javac.main.Main.compile(Main.java:254)
at com.sun.tools.javac.main.Main.compile(Main.java:142)
at com.sun.tools.javac.Main.compile(Main.java:56)
at com.sun.tools.javac.Main.main(Main.java:42)
Caused by: java.lang.UnsupportedOperationException
at jdk.nio.zipfs.ZipPath.toFile(ZipPath.java:582)
at com.sun.tools.javac.file.JavacFileManager$3.next(JavacFileManager.java:1050)
... 19 more