JDK-8151565 : Exclude FX class files from javadoc classpath to workaround JDK-8151191
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-03-09
  • Updated: 2022-11-18
  • Resolved: 2016-03-10
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
9Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Description
We are unable to build FX API docs using the new JDK 9 doclet due to a javac bug as described in JDK-8151191. A workaround for that bug is to not include the built .class files on the javadoc classpath.

Comments
Changeset: ac9a076e67c2 Author: kcr Date: 2016-03-09 16:31 -0800 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/ac9a076e67c2 8151565: Exclude FX class files from javadoc classpath to workaround JDK-8151191 Reviewed-by: ckyang
10-03-2016

+1. Verified on Mac with JDK 8 and JDK 9 b109.
10-03-2016

http://cr.openjdk.java.net/~kcr/8151565/webrev.00/ The fix is to use the source files rather than the class files when running javadoc as a workaround for JDK-8151191. I also needed to exclude the swt module from the docs temporarily so the javadoc run would succeed. I will file a follow-on issue to revert this fix one JDK-8151191 is fixed.
10-03-2016