<AWT Dev> [14] Review Request: 8078107 [macosx] Some datatransfer classes were loaded on startup
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Wed Dec 4 11:02:26 UTC 2019
Hello.
Please review the fix for JDK 14.
Bug: https://bugs.openjdk.java.net/browse/JDK-8078107
Fix: http://cr.openjdk.java.net/~serb/8078107/webrev.00
This bug is an exact copy of JDK-4915454[1] but on macOS, because
implementation of the text components in LWAWT and XAWT is similar,
both use Swing internally.
The root cause is that DnD in the Swing text components is enabled
by default unlike text components in AWT which does not use
this Swing based DnD and as such loading of these classes is unnecessary.
The fix is the same as for JDK-4915454(+I made small code cleanup).
[1] https://bugs.openjdk.java.net/browse/JDK-4915454
--
Best regards, Sergey.
More information about the awt-dev
mailing list