RFR: 8240451: JavaFX javadoc build fails with JDK 14
Nir Lisker
nlisker at openjdk.java.net
Thu Mar 5 17:20:14 UTC 2020
On Tue, 3 Mar 2020 16:12:23 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> The JDK 14 javadoc will emit a warning for an `@pram` tag of a generic parameter if not surrounded by `<` and `>`. This will in turn fail the build, since we treat warnings as errors. There are 5 classes in JavaFX with this error. The fix is to replace `@param T` with `@param <T>` in those 5 places.
>
>
> I have tested this fix using javadoc from both JDK 13 and JDK 14.
Using a rough regex search of `@param [A-Z]\s` I also found:
`com.sun.glass.ui.Window#requestInput`: `@param M`
`com.sun.javafx.tk.TKStage#requestInput`: `@param M`
Though those are internal.
-------------
Marked as reviewed by nlisker (Committer).
PR: https://git.openjdk.java.net/jfx/pull/133
More information about the openjfx-dev
mailing list