On Fri, 28 Oct 2022 20:57:37 GMT, Pavel Rappo <[email protected]> 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