On Mon, 14 Apr 2025 05:57:16 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:

> Font Class, Selection adn Icon related Applet tests are converted to manual 
> and open sourced.

test/jdk/java/awt/Selection/TestClipboard.java line 108:

> 106: 
> 107:             // See if the flavor is supported. This will result in a null
> 108:             // pointer exception on Solaris, but not NT

Solaris is not supported anymore by the jdk. I would remove the comment.

test/jdk/java/awt/Selection/TestClipboard.java line 109:

> 107:             // See if the flavor is supported. This will result in a null
> 108:             // pointer exception on Solaris, but not NT
> 109:             boolean isSupported = 
> theTransfer.isDataFlavorSupported(myFlavor);

Suggestion:

            theTransfer.isDataFlavorSupported(myFlavor);

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24615#discussion_r2041512152
PR Review Comment: https://git.openjdk.org/jdk/pull/24615#discussion_r2041514429

Reply via email to