7030853: JDK 7 Serializable Swing classes not compatible with JDK 6
Reviewed-by: serb, aivanov
This commit is contained in:
parent
38cfc59172
commit
77ff197746
@ -36,6 +36,13 @@ import java.awt.Window;
|
||||
* Comparator which attempts to sort Components based on their size and
|
||||
* position. Code adapted from original javax.swing.DefaultFocusManager
|
||||
* implementation.
|
||||
* <p>
|
||||
* <strong>Warning:</strong>
|
||||
* Serialized objects of this class will not be compatible with
|
||||
* future Swing releases. The current serialization support is
|
||||
* appropriate for short term storage or RMI between applications running
|
||||
* the same version of Swing. As of 1.4, support for long term storage
|
||||
* of all JavaBeans has been added to the <code>java.beans</code> package.
|
||||
*
|
||||
* @author David Mendenhall
|
||||
*/
|
||||
|
@ -128,6 +128,14 @@
|
||||
* href="https://docs.oracle.com/javase/tutorial/uiswing/concurrency/index.html">
|
||||
* Concurrency in Swing</a>.
|
||||
*
|
||||
* <h2><a id="serialization">Swing's Serialization policy</a></h2>
|
||||
* <strong>Warning:</strong>
|
||||
* Serialized objects of any Swing class will not be compatible with
|
||||
* future Swing releases. The current serialization support is
|
||||
* appropriate for short term storage or RMI between applications running
|
||||
* the same version of Swing. As of 1.4, support for long term storage
|
||||
* of all JavaBeans has been added to the <code>java.beans</code> package.
|
||||
*
|
||||
* <h2><a id="related">Related Documentation</a></h2>
|
||||
* For overviews, tutorials, examples, guides, and other documentation,
|
||||
* please see:
|
||||
|
@ -42,6 +42,13 @@ import java.security.PrivilegedAction;
|
||||
* Responsible for starting up a new DocumentParser
|
||||
* each time its parse method is invoked. Stores a
|
||||
* reference to the dtd.
|
||||
* <p>
|
||||
* <strong>Warning:</strong>
|
||||
* Serialized objects of this class will not be compatible with
|
||||
* future Swing releases. The current serialization support is
|
||||
* appropriate for short term storage or RMI between applications running
|
||||
* the same version of Swing. As of 1.4, support for long term storage
|
||||
* of all JavaBeans has been added to the <code>java.beans</code> package.
|
||||
*
|
||||
* @author Sunita Mani
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user