<AWT Dev> [14] Review Request: 8078107 [macosx] Some datatransfer classes were loaded on startup

Phil Race philip.race at oracle.com
Mon Dec 23 18:31:08 UTC 2019


Looks fine - for JDK 15. It is unfortunate that the JBS issue can't be 
made public.
Perhaps you could file a new one, close this as a dup, and then push 
under the new open bug ?

-phil.

On 12/4/19 3:02 AM, Sergey Bylokhov wrote:
> 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
>



More information about the awt-dev mailing list