<AWT Dev> Integrated: 8253965: Delete the outdated java.awt.PeerFixer class

Sergey Bylokhov serb at openjdk.java.net
Fri Oct 9 05:12:21 UTC 2020


On Sat, 3 Oct 2020 03:43:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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
>  */

This pull request has now been integrated.

Changeset: 70be8c7a
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/70be8c7a
Stats:     49 lines in 1 file changed: 0 ins; 49 del; 0 mod

8253965: Delete the outdated java.awt.PeerFixer class

Reviewed-by: prr, pbansal

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

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


More information about the awt-dev mailing list