8284613: invalid use of @serial tag

Reviewed-by: prr
This commit is contained in:
Alisen Chung 2022-05-08 21:22:08 +00:00 committed by Phil Race
parent 9583e3657e
commit cdd1b0da14
12 changed files with 10 additions and 12 deletions

View file

@ -386,7 +386,7 @@ public class FocusEvent extends ComponentEvent {
* @return a newly created object from deserialized data
* @throws ObjectStreamException if a new object replacing this object could
* not be created
* @serial
*
* @see #cause
* @since 9
*/

View file

@ -2006,7 +2006,6 @@ public non-sealed class KeyEvent extends InputEvent {
* @throws ClassNotFoundException if the class of a serialized object could
* not be found
* @throws IOException if an I/O error occurs
* @serial
*/
@Serial
@SuppressWarnings("deprecation")

View file

@ -1194,7 +1194,6 @@ public non-sealed class MouseEvent extends InputEvent {
* @throws ClassNotFoundException if the class of a serialized object could
* not be found
* @throws IOException if an I/O error occurs
* @serial
*/
@Serial
@SuppressWarnings("deprecation")