<AWT Dev>  Review Request: 8011541 [TEST_BUG] closed/javax/swing/plaf/metal/MetalUtils/bug6190373.java fails NPE since 7u25b03
alexander.zvegintsev at oracle.com
Wed Oct 21 19:00:48 UTC 2015
looks fine to me.
On 10/21/2015 07:32 PM, Sergey Bylokhov wrote:
> Please review the fix for jdk9.
> The test emulate implementation of two applets inside one vm. It has
> two threads in two different threads groups, for one of them it
> creates an appcontext, and the test assumes that for the main thread
> the appcontext will be created automatically. This assumption is
> incorrect since we removed main appcontext long time ago.
> In the fix:
> - Everything from the main thread were moved to the second threads group
> - Some synchronization and call to dispose() were added
> - Now we iterates over all supported l&fs
> I have checked that the updated test failed if the fix for JDK-6190373
> is reverted.
> The test was moved to open.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8011541
> Webrev can be found at:
> Only useful changes for convenience:
More information about the awt-dev