Tweak to trap getClipboard properly
This commit is contained in:
parent
59aa0586f7
commit
f334272243
|
@ -275,7 +275,7 @@ public final class Sys {
|
|||
try {
|
||||
PlatformAdapter adapter = (PlatformAdapter) Class.forName(PLATFORM).newInstance(); // This avoids a Jet error message
|
||||
return adapter.getClipboard();
|
||||
} catch (Exception e) {
|
||||
} catch (Throwable e) {
|
||||
Sys.log("Unable to get clipboard contents: " + e);
|
||||
// ignore exception and use native implementation
|
||||
return nGetClipboard();
|
||||
|
|
Loading…
Reference in New Issue