RFR: 8277817: java/awt/dnd/BadSerializationTest/BadSerializationTest.java failed: ClassNotFoundException: com.apple.laf.AquaImageFactory$SystemColorProxy

Sergey Bylokhov serb at openjdk.java.net
Wed Dec 1 22:18:28 UTC 2021


On Wed, 1 Dec 2021 18:28:13 GMT, Phil Race <prr at openjdk.org> wrote:

> This test doesn't switch L&Fs .. if it wasn't for mac defaulting to Aqua they'd all be using Metal.

It does not change the L&F but it will trigger the same cleanup step.

> So this is an accidental by-product, not the goal of the test.

yes we found one additional product bug.

> And that goal be met by the test writing out the serialized objects and reading them back all at "test time", can't it ?

No it cannot write and read it back in during test execution, the binary files should be created on the "patched" version of JDK.

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

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



More information about the client-libs-dev mailing list