<AWT Dev> [9] Review Request: JDK-8043513 Clipboard#getContents(Object) throws IOException

Petr Pchelko petr.pchelko at oracle.com
Wed May 21 12:27:27 UTC 2014

Hello, AWT Team.

Please review the fox for the issue:
The fix is available at: 

The problem:
When we fetch all contents from the clipboard we catch IOException and store it for later.
In case we would then need the data which caused the exception the cached exception would be rethrown.
But the stack trace shows where the exception was created, not thrown. Wrapping it helps to 
eliminate the misunderstanding.

With best regards. Petr.

More information about the awt-dev mailing list