JDK-8240451 : JavaFX javadoc build fails with JDK 14
  • Type: Bug
  • Component: javafx
  • Sub-Component: base
  • Affected Version: openjfx14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-03-03
  • Updated: 2020-07-02
  • Resolved: 2020-03-05
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.
Other
openjfx15Fixed
Related Reports
Blocks :  
Description
When using the JDK 14 javadoc tool to build the JavaFX API docs, we get the following warnings, which cause the build to fail since we treat these warnings as error:

modules/javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanObjectPropertyBuilder.java:58: error: invalid use of @param
 * @param T the type of the wrapped {@code Object}
   ^
modules/javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanObjectProperty.java:82: error: invalid use of @param
 * @param T the type of the wrapped {@code Object}
   ^
modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanObjectPropertyBuilder.java:59: error: invalid use of @param
 * @param T the type of the wrapped {@code Object}
   ^
modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanObjectProperty.java:90: error: invalid use of @param
 * @param T type of the wrapped {@code Object}
   ^
modules/javafx.base/src/main/java/javafx/beans/value/WritableObjectValue.java:31: error: invalid use of @param
 * @param T
   ^
5 errors
Comments
Changeset: b2ac76a9 Author: Kevin Rushforth <kcr@openjdk.org> Date: 2020-03-05 20:58:03 +0000 URL: https://git.openjdk.java.net/jfx/commit/b2ac76a9
05-03-2020

This needs to be fixed before we can build with JDK 14. This isn't urgent, since we don't have any immediate plans to upgrade, but with JDK 14 GA being released later this month, we should get this fixed sooner rather than later. This is caused by typos in the @param statement. The fix is to replace `@param T` with `@param <T>`
03-03-2020