This bug is extracted from the JDK-8251123. Instead of specifying this old/unused class, I suggest to delete it.
This is the comment added to this class in JDK 1.1.1: ============================== /* * In JDK 1.1.1, the pkg private class java.awt.PeerFixer was moved to * become an inner class of ScrollPane, which broke serialization * for ScrollPane objects using JDK 1.1. * Instead of moving it back out here, which would break all JDK 1.1.x * releases, we keep PeerFixer in both places. Because of the scoping rules, * the PeerFixer that is used in ScrollPane will be the one that is the * inner class. This pkg private PeerFixer class below will only be used * if the Java 2 platform is used to deserialize ScrollPane objects that were serialized * using JDK1.1 */ ------------- Commit messages: - Update ScrollPane.java Changes: https://git.openjdk.java.net/jdk/pull/493/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=493&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8253965 Stats: 49 lines in 1 file changed: 0 ins; 49 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/493.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/493/head:pull/493 PR: https://git.openjdk.java.net/jdk/pull/493