JDK-8178281 : Remove @link reference to Module class until boot JDK is updated
  • Type: Bug
  • Component: javafx
  • Sub-Component: fxml
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-04-06
  • Updated: 2017-04-07
  • Resolved: 2017-04-07
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
This is a follow-on to JDK-8177751 which removed all references to the Module class. One @link to Module was missed, so we get a failure if doclint is enabled:

gradle -PDOC_LINT=all javadoc

/localhome/kcr/javafx/9-kcr/jfx/rt/modules/javafx.fxml/src/main/java/javafx/fxml/FXML.java:41: error: reference not found
 * (e.g., in its module-info.class) or by calling {@link Module#addOpens}.
                                                         ^
Comments
Changeset: 650434c12f74 Author: kcr Date: 2017-04-07 10:38 -0700 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/650434c12f74 8178281: Remove @link reference to Module class until boot JDK is updated Reviewed-by: prr
07-04-2017

+1 -phil
07-04-2017

Simple one-line fix to change the @link to @code. This will be changed back as part of JDK-8178015 Here is the proposed diff: diff --git a/modules/javafx.fxml/src/main/java/javafx/fxml/FXML.java b/modules/javafx.fxml/src/main/java/javafx/fxml/FXML.java --- a/modules/javafx.fxml/src/main/java/javafx/fxml/FXML.java +++ b/modules/javafx.fxml/src/main/java/javafx/fxml/FXML.java @@ -38,7 +38,7 @@ * An object is reflectively accessible if the module containing that * object opens (see {@code Module.isOpen}) the containing package to the * {@code javafx.fxml} module, either in its {@link ModuleDescriptor} - * (e.g., in its module-info.class) or by calling {@link Module#addOpens}. + * (e.g., in its module-info.class) or by calling {@code Module.addOpens}. * An object is also reflectively accessible if it is declared as a public * member, is in a public class, and the module containing that class * exports (see {@code Module.isExported(String,Module)})
06-04-2017