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

Liam Miller-Cushon cushon at openjdk.java.net
Wed Dec 1 18:35:03 UTC 2021


On Wed, 1 Dec 2021 18:12:51 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> This change updates the serialized objects used by `java/awt/dnd/BadSerializationTest/BadSerializationTest.java` using a similar approach to the previous fix in [JDK-8039082](https://bugs.openjdk.java.net/browse/JDK-8039082).
>
> Liam Miller-Cushon has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.

Ok the other issue was another instance of the same problem with `BasicPanelUI`.

I now have the test passing on both linux and mac, after regenerating the binary files on mac.

I'm still not sure if this is the best approach, does this fix belong in `BasicPanelUI`? You mentioned fixing 'Aqua to properly delete the references to the Aqua specific objects', does it make sense to handle this in aqua specific code instead?

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

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



More information about the client-libs-dev mailing list