JDK-8253965 : Delete the outdated java.awt.PeerFixer class
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-10-03
  • Updated: 2020-10-15
  • Resolved: 2020-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b20Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8254970 :  
Description
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
 */
Comments
Changeset: 70be8c7a Author: Sergey Bylokhov <serb@openjdk.org> Date: 2020-10-09 05:08:49 +0000 URL: https://git.openjdk.java.net/jdk/commit/70be8c7a
09-10-2020