Integrated: 7030853: JDK 7 Serializable Swing classes not compatible with JDK 6

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Jan 4 03:29:54 UTC 2023


On Wed, 7 Dec 2022 16:35:24 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> The serialized form of the following classes in JDK 7 builds are not compatible with prior versions of Java:
>     javax.swing.text.html.parser.ParserDelegator
>     javax.swing.LayoutComparator
> They need to be declared as not compatible between releases in the API documentation, as is the case for some other serializable Swing classes.
> 
> Since It is widely known that serialized Swing classes are not comptible between major releases, we just didn't add the warning at that couple classes.
> Added the warning..

This pull request has now been integrated.

Changeset: 77ff1977
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/77ff19774651f1c41bbb1e59b2873d74522c8666
Stats:     22 lines in 3 files changed: 22 ins; 0 del; 0 mod

7030853: JDK 7 Serializable Swing classes not compatible with JDK 6

Reviewed-by: serb, aivanov

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

PR: https://git.openjdk.org/jdk/pull/11565



More information about the client-libs-dev mailing list