On Thu, 17 Apr 2025 21:40:34 GMT, Phil Race <p...@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

Reply via email to