RFR: 8282473: Refactor swing classes javadoc to use @throws instead of @exception

Alexey Ivanov aivanov at openjdk.java.net
Wed Mar 2 14:54:55 UTC 2022


On Tue, 1 Mar 2022 10:16:16 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Prevailing JDK coding practices use "@throws" rather than "@exception".
> Refactor existing swing classes javadoc to use @throws

Submitted:

- [JDK-8282539](https://bugs.openjdk.java.net/browse/JDK-8282539): Remove ending punctuation from @throws HeadlessException
- [JDK-8282546](https://bugs.openjdk.java.net/browse/JDK-8282546): Remove ending punctuation from @throws in java.desktop

I decided to separate these two cases.

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

PR: https://git.openjdk.java.net/jdk/pull/7644



More information about the client-libs-dev mailing list