mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8284613: invalid use of @serial tag
Reviewed-by: prr
This commit is contained in:
parent
9583e3657e
commit
cdd1b0da14
12 changed files with 10 additions and 12 deletions
|
@ -108,7 +108,7 @@ public class Applet extends Panel {
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
||||||
* returns {@code true}
|
* returns {@code true}
|
||||||
* @serial
|
*
|
||||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -484,7 +484,7 @@ public class Button extends Component implements Accessible {
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
||||||
* returns {@code true}
|
* returns {@code true}
|
||||||
* @serial
|
*
|
||||||
* @see #removeActionListener(ActionListener)
|
* @see #removeActionListener(ActionListener)
|
||||||
* @see #addActionListener(ActionListener)
|
* @see #addActionListener(ActionListener)
|
||||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||||
|
|
|
@ -660,7 +660,7 @@ public class Checkbox extends Component implements ItemSelectable, Accessible {
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
||||||
* returns {@code true}
|
* returns {@code true}
|
||||||
* @serial
|
*
|
||||||
* @see #removeItemListener(ItemListener)
|
* @see #removeItemListener(ItemListener)
|
||||||
* @see #addItemListener(ItemListener)
|
* @see #addItemListener(ItemListener)
|
||||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||||
|
|
|
@ -475,7 +475,7 @@ public class CheckboxMenuItem extends MenuItem implements ItemSelectable, Access
|
||||||
* @throws ClassNotFoundException if the class of a serialized object could
|
* @throws ClassNotFoundException if the class of a serialized object could
|
||||||
* not be found
|
* not be found
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @serial
|
*
|
||||||
* @see #removeActionListener(ActionListener)
|
* @see #removeActionListener(ActionListener)
|
||||||
* @see #addActionListener(ActionListener)
|
* @see #addActionListener(ActionListener)
|
||||||
* @see #writeObject(ObjectOutputStream)
|
* @see #writeObject(ObjectOutputStream)
|
||||||
|
|
|
@ -708,7 +708,7 @@ public class Choice extends Component implements ItemSelectable, Accessible {
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
||||||
* returns {@code true}
|
* returns {@code true}
|
||||||
* @serial
|
*
|
||||||
* @see #removeItemListener(ItemListener)
|
* @see #removeItemListener(ItemListener)
|
||||||
* @see #addItemListener(ItemListener)
|
* @see #addItemListener(ItemListener)
|
||||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||||
|
|
|
@ -3723,7 +3723,7 @@ public class Container extends Component {
|
||||||
* @throws ClassNotFoundException if the class of a serialized object could
|
* @throws ClassNotFoundException if the class of a serialized object could
|
||||||
* not be found
|
* not be found
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @serial
|
*
|
||||||
* @see #addContainerListener
|
* @see #addContainerListener
|
||||||
* @see #writeObject(ObjectOutputStream)
|
* @see #writeObject(ObjectOutputStream)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1941,7 +1941,7 @@ public class Font implements java.io.Serializable
|
||||||
* @throws ClassNotFoundException if the class of a serialized object could
|
* @throws ClassNotFoundException if the class of a serialized object could
|
||||||
* not be found
|
* not be found
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @serial
|
*
|
||||||
* @see #writeObject(java.io.ObjectOutputStream)
|
* @see #writeObject(java.io.ObjectOutputStream)
|
||||||
*/
|
*/
|
||||||
@Serial
|
@Serial
|
||||||
|
|
|
@ -166,7 +166,7 @@ public class Label extends Component implements Accessible {
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
||||||
* returns {@code true}
|
* returns {@code true}
|
||||||
* @serial
|
*
|
||||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -447,7 +447,7 @@ public abstract class MenuComponent implements java.io.Serializable {
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
* @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
|
||||||
* returns {@code true}
|
* returns {@code true}
|
||||||
* @serial
|
*
|
||||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("removal")
|
@SuppressWarnings("removal")
|
||||||
|
|
|
@ -386,7 +386,7 @@ public class FocusEvent extends ComponentEvent {
|
||||||
* @return a newly created object from deserialized data
|
* @return a newly created object from deserialized data
|
||||||
* @throws ObjectStreamException if a new object replacing this object could
|
* @throws ObjectStreamException if a new object replacing this object could
|
||||||
* not be created
|
* not be created
|
||||||
* @serial
|
*
|
||||||
* @see #cause
|
* @see #cause
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2006,7 +2006,6 @@ public non-sealed class KeyEvent extends InputEvent {
|
||||||
* @throws ClassNotFoundException if the class of a serialized object could
|
* @throws ClassNotFoundException if the class of a serialized object could
|
||||||
* not be found
|
* not be found
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @serial
|
|
||||||
*/
|
*/
|
||||||
@Serial
|
@Serial
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
|
|
|
@ -1194,7 +1194,6 @@ public non-sealed class MouseEvent extends InputEvent {
|
||||||
* @throws ClassNotFoundException if the class of a serialized object could
|
* @throws ClassNotFoundException if the class of a serialized object could
|
||||||
* not be found
|
* not be found
|
||||||
* @throws IOException if an I/O error occurs
|
* @throws IOException if an I/O error occurs
|
||||||
* @serial
|
|
||||||
*/
|
*/
|
||||||
@Serial
|
@Serial
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue