[jdk17u-dev] RFR: 8281944: JavaDoc throws java.lang.IllegalStateException: ERRONEOUS

Aleksey Shipilev shade at openjdk.org
Thu Jun 6 15:52:47 UTC 2024


On Thu, 6 Jun 2024 15:42:25 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Fixes a javadoc crash on incorrect `@see`. We have seen instances of this in our development pipelines. 
> 
> Unfortunately, javadoc code changed considerably in modern releases. The original patch, while simple, does not apply well to javadoc from JDK 17. The backports of javadoc improvements that would make this clean to JDK 17 are hairy. So instead I amended the patch to work on JDK 17, see https://github.com/openjdk/jdk17u-dev/commit/9249ee405fc0a8b4653a653c1150692b90319bd9.
> 
> Additional testing:
>  - [x] New test fails without the patch, passes with it
>  - [x] MacOS AArch64 server fastdebug, `jdk/javadoc` pass

@pavelrappo, @jonathan-gibbons -- do you want to take a look at this?

-------------

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2546#issuecomment-2152865160


More information about the jdk-updates-dev mailing list