On Sat, 15 Jan 2022 23:20:56 GMT, Liam Miller-Cushon <cus...@openjdk.org> wrote:
> Please consider this enhancement to > `test/jdk/java/awt/dnd/BadSerializationTest/BadSerializationTest.java`, which > simplifies the process of manually generating serialized test data by using > reflection to generate invalid instances of `DragGestureEvent` and > `DragGestureRecognizer`, instead of relying on patching the constructors of > those classes to disable validation checks. > > This cleanup was proposed in the review for a possible fix for > [JDK-8277817](https://bugs.openjdk.java.net/browse/JDK-8277817): > https://git.openjdk.java.net/jdk/pull/6603#issuecomment-997054470 This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.java.net/jdk/pull/7099