RFR: 8285488: Improve DocFinder [v4]
Jonathan Gibbons
jjg at openjdk.org
Thu Nov 3 17:43:35 UTC 2022
On Fri, 28 Oct 2022 20:57:37 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
>> src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/ThrowsTaglet.java line 450:
>>
>>> 448: }
>>> 449:
>>> 450: private static sealed class Failure extends Exception {
>>
>> instead of the `transient` keyword and `serialVersionUIDs`, consider just `@SuppressWarnings("serial") on the overall `Failure` class. The class is internal and will never be serialized!
>
> Good suggestion! I applied it and it worked, although IDE reports "Redundant suppression". Will push the change in due course.
The IDE is wrong ;-)
-------------
PR: https://git.openjdk.org/jdk/pull/10746
More information about the javadoc-dev
mailing list