-
Bug
-
Resolution: Unresolved
-
P4
-
19, 20, 21
-
None
We ran into this bug while reviewing an in-prgress RFE to add "javadoc --since" when generating the JavaFX docs.
To reproduce this:
1. Download and unzip a recent build of the JavaFX SDK from https://jdk.java.net/javafx21
2. Take the attached MyClass.java test and put it in a directory named "pkg"
3. Run javadoc as follows:
$ javadoc --module-path /SOMEWHERE/javafx-sdk-21/lib --add-modules javafx.base --since 9 --since-label "New API since 9" -d javadoc pkg
You will see that the "foo" method is correctly listed in the "NEW" section, but the "state" property and related methods, stateProperty(), isState(), and setState(), are not.
To reproduce this:
1. Download and unzip a recent build of the JavaFX SDK from https://jdk.java.net/javafx21
2. Take the attached MyClass.java test and put it in a directory named "pkg"
3. Run javadoc as follows:
$ javadoc --module-path /SOMEWHERE/javafx-sdk-21/lib --add-modules javafx.base --since 9 --since-label "New API since 9" -d javadoc pkg
You will see that the "foo" method is correctly listed in the "NEW" section, but the "state" property and related methods, stateProperty(), isState(), and setState(), are not.
- relates to
-
JDK-8306648 Update the JavaDocs to show the NEW section and DEPRECATED versions
- Resolved