RFR: 8355002: Clean up some mentions of "applet" in tests

Phil Race prr at openjdk.org
Thu Apr 17 21:47:57 UTC 2025


On Thu, 17 Apr 2025 21:40:34 GMT, Phil Race <prr at openjdk.org> wrote:

> This PR cleans up obsolete references to "applet" meaning
> - the word applet in a comment where its not relevant (any more)
> -  extraneous imports of the applet package or an applet class
> -  obsolete methods which check for applet
> - an exception handling case that isn't needed.
> 
> After this applet/Applet still appears in tests that test the Applet API but that's expected.
> 
> There's also a few tests that mention applets but aren't applet-specific and require more time than this quick clean up of most mentions.

test/jdk/javax/swing/JTextArea/4697612/bug4697612.java line 227:

> 225:         try {
> 226:             InputStream is =
> 227:                     bug4697612.class.getResourceAsStream("bug4697612.java");

the .txt file as well as mentioning applets really wasn't appropriate to be in the Open JDK.
I've replaced it with the src of the test - all it needs is a file to scroll and this is very similar in size.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24744#discussion_r2049689348


More information about the client-libs-dev mailing list