-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b49
-
generic
-
linux_redhat_2.1
I'm adding a new feature involving adding new .java source files.
"make docs" fails, only on linux-amd64 (quoddy), with
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javadoc/Messager$ExitJavadoc
at com.sun.tools.javadoc.Start.begin(Start.java:128)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
make: *** [coredocs] Error 1
This appears to be some kind of system limit on the size of the input to
the javadoc tool itself.
- failure occurs only when running the javadoc in the build/VARIANT/bin directory
not build/VARIANT/j2sdk-image/bin.
- failure occurs even when running non-image javadoc from an unmodified build
against the new workspace files.
- failure can be resolved by explicitly removing all added source files and rerunning
"make docs". Failure can subsequently be reintroduced by
doing "touch ...src/share/classes/java/util/foo.java; make docs"
A simple recipe for reproducing the problem is:
$ make all # on linux-amd64
$ (cd ../src/share/classes/java/util && touch foo.java bar.java)
# One source file works; adding the second fails
$ make docs
Unfortunately, the obvious fix of increasing the heap size with -J-Xmx fails.
This is a putback blocker for me.
"make docs" fails, only on linux-amd64 (quoddy), with
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javadoc/Messager$ExitJavadoc
at com.sun.tools.javadoc.Start.begin(Start.java:128)
at com.sun.tools.javadoc.Main.execute(Main.java:41)
at com.sun.tools.javadoc.Main.main(Main.java:31)
make: *** [coredocs] Error 1
This appears to be some kind of system limit on the size of the input to
the javadoc tool itself.
- failure occurs only when running the javadoc in the build/VARIANT/bin directory
not build/VARIANT/j2sdk-image/bin.
- failure occurs even when running non-image javadoc from an unmodified build
against the new workspace files.
- failure can be resolved by explicitly removing all added source files and rerunning
"make docs". Failure can subsequently be reintroduced by
doing "touch ...src/share/classes/java/util/foo.java; make docs"
A simple recipe for reproducing the problem is:
$ make all # on linux-amd64
$ (cd ../src/share/classes/java/util && touch foo.java bar.java)
# One source file works; adding the second fails
$ make docs
Unfortunately, the obvious fix of increasing the heap size with -J-Xmx fails.
This is a putback blocker for me.
- relates to
-
JDK-6311430 SourceToHTMLConverter.convertClass fails to close its Reader
-
- Resolved
-