<Swing Dev> RFR: 8198400: Test javax/swing/SwingUtilities/6797139/bug6797139.java fails in mach5

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Oct 19 04:37:10 UTC 2020


On Mon, 19 Oct 2020 01:53:21 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Running -Djava.awt.headless=true passes locally.
>> I tried running on mach5 in headless configuration also and it passes even on running several iterations. Link in JBS.
>> It seems last time it gets NPE when executing UIManager.getLookAndFeelDefaults().put(defaultsKey, map); which indicate
>> getLookAndFeelDefaults() returns null. But there are many instances in jdk swing code where no null check is done for
>> this getLookAndFeelDefaults() call and it is working fine.
>
> I think is that the root cause is in the stack trace "SameVMRunnable". It means that the test was run in the samevm
> mode and was affected by the other tests. I suggest finding such traces in the JBS and de-problem list all of them.
> Similar issue: https://github.com/openjdk/jdk/pull/715/files. The bug was fixed by the adding client tests to the
> "othervm.dirs" in the TEST.ROOT

I am not sure how to find such traces in JBS. THe mach5 log in  https://github.com/openjdk/jdk/pull/715/files doesn't
seem to be accessible anymore. At least for this 2 PRs 719 and 715, we can deproblemlist this swing PL issues for now
which is done in this 2 PRs.

-------------

PR: https://git.openjdk.java.net/jdk/pull/719


More information about the swing-dev mailing list