Hi, we are seeing this error using JDK 8 EA b124 (b123, etc.) using the javadoc tool.
java.lang.IllegalStateException: endPosTable already set at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136) at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350) at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:643) at com.sun.tools.javadoc.JavadocTool.parsePackageClasses(JavadocTool.java:243) at com.sun.tools.javadoc.JavadocTool.getRootDocImpl(JavadocTool.java:180) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:344) at com.sun.tools.javadoc.Start.begin(Start.java:219) at com.sun.tools.javadoc.Start.begin(Start.java:205) at com.sun.tools.javadoc.Main.execute(Main.java:64) at com.sun.tools.javadoc.Main.main(Main.java:54) javadoc: error - fatal exception === it is similar to BUG JDK-8029145 javadoc fails with java.lang.IllegalStateException: endPosTable already set but we are NOT using the -subpackages option I think our issue is b/c we have a directory (tools) that has a class NOT in that package and others in it, e.g. <my_project_dir>/tools/ClassInDefaultPackage.java (not in any package) <my_project_dir>/tools/ClassInToolsPackage.java (in tools package) then we run javaodc with -classpath <my_project_dir>/tools:<my_project_dir> <my_project_dir>/tools/ClassInDefaultPackage.java tools and it gets the above error (this works fine in ALL JDK versions (1.0 to 1.7) prior to JDK 8 EA. How do I submit a Bug for this issue are add comments to JDK-8029145 ? Regards, Neon
