On Tue, 30 Nov 2021 01:31:24 GMT, Liam Miller-Cushon <cus...@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). As of the usefulness of the serializations tests in Swing - it is a good coverage of the cleaning code in the L&fs. Each L&F should clean all its data when the app switch one LF to another, but if old L&F forget to cleanup then the app will get a memory leak. ------------- PR: https://git.openjdk.java.net/jdk/pull/6603