RFR: 8353832: Opensource FontClass, Selection and Icon tests
Hendrik Schick
duke at openjdk.org
Mon Apr 14 12:54:26 UTC 2025
On Mon, 14 Apr 2025 05:57:16 GMT, Abhishek Kumar <abhiscxk at 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
More information about the client-libs-dev
mailing list