JDK-8042655 : Build failed in javadoc with IllegalArgumentException (on sol_x84)
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2014-05-07
  • Updated: 2014-05-08
  • Resolved: 2014-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
Jdk 9 build failed in javadoc with IllegalArgumentException on solaris_x84 platform.
Happened once, passed after JPRT build rerun. Filing the bug per dev request and to record the issue.

 /opt/jprt/T/P1/222656.ssteuck/s/build/solaris-x86_64-normal-server-release/jdk/impsrc/javax/xml/bind/JAXBContext.java:262: warning - Tag @see: reference not found: S 7.4.1 "Named Packages" in Java Language Specification</a>
java.lang.IllegalArgumentException: Comparison method violates its general contract!
        at java.util.TimSort.mergeHi(TimSort.java:895)
        at java.util.TimSort.mergeAt(TimSort.java:512)
        at java.util.TimSort.mergeCollapse(TimSort.java:435)
        at java.util.TimSort.sort(TimSort.java:241)
        at java.util.Arrays.sort(Arrays.java:1507)
        at java.util.ArrayList.sort(ArrayList.java:1439)
        at com.sun.tools.doclets.internal.toolkit.util.IndexBuilder.sortIndexMap(IndexBuilder.java:115)
        at com.sun.tools.doclets.internal.toolkit.util.IndexBuilder.buildIndexMap(IndexBuilder.java:151)
        at com.sun.tools.doclets.internal.toolkit.util.IndexBuilder.<init>(IndexBuilder.java:103)
        at com.sun.tools.doclets.internal.toolkit.util.IndexBuilder.<init>(IndexBuilder.java:82)
        at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:122)
        at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:144)
        at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:82)
        at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:80)
        at com.sun.tools.doclets.standard.Standard.start(Standard.java:39)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
        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)
4 warnings
gmake[1]: *** [/opt/jprt/T/P1/222656.ssteuck/s/build/solaris-x86_64-normal-server-release/docs/api/index.html] Error 1
gmake[1]: Leaving directory `/opt/jprt/T/P1/222656.ssteuck/s/make'
make: *** [docs-only] Error 2
###########################################################
#
# pwd:
#   /opt/jprt/T/P1/222656.ssteuck/s
#
# uname -a:
#   SunOS sc11b2203 5.10 Generic_142910-17 i86pc i386 i86pc


Full build log:
 /net/jarchive.us.oracle.com/export/jcg/NB.archived/9/dev/2014-05-01-222656.ssteuck.dev-pit/build.logs/FAILED_IN_RUN.05012137/
Comments
duplicate of JDK-8042601
08-05-2014