<AWT Dev> RFR  8246248: TransferHandler.exportToClipboard prints stacktrace even if succeeded
Suman Rajkumaar Kodandarama
suman.rajkumaar.kodandarama at oracle.com
Tue Jul 7 14:35:32 UTC 2020
Could you review a fix for the JDK 16, please?
Problem description:When copying an image with alpha component to the
clipboard, IOException occurs and its stack trace is printed to the
console. The IOException is thrown because JPEG flavor does not support
alpha, which it has been dropped in JDK-8204187.
Fix: Instead of printing the exception on the standard console, the fix
replaces printing the stack trace of any exception that may occur while
placing data to the clipboard with logging.
K Suman Rajkumaar
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev