diff options
| author | Sergey Bylokhov <serb@openjdk.org> | 2020-10-06 10:49:56 +0000 |
|---|---|---|
| committer | Sergey Bylokhov <serb@openjdk.org> | 2020-10-06 10:49:56 +0000 |
| commit | f397b60ae15a6d355ea7ebd2ab4ba5eef263df49 (patch) | |
| tree | 6d45abea53f5bfee99a53bd5bd6ad31b92f3f3be /src/java.desktop/share/classes/java/awt/Menu.java | |
| parent | c9d1dcc63d3da0eb8f96e0d19336940eb11d6b92 (diff) | |
| download | openjdk-f397b60ae15a6d355ea7ebd2ab4ba5eef263df49.tar.gz openjdk-f397b60ae15a6d355ea7ebd2ab4ba5eef263df49.zip | |
8251123: doclint warnings about missing javadoc tags and comments
Reviewed-by: jdv, prr
Diffstat (limited to 'src/java.desktop/share/classes/java/awt/Menu.java')
| -rw-r--r-- | src/java.desktop/share/classes/java/awt/Menu.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/java.desktop/share/classes/java/awt/Menu.java b/src/java.desktop/share/classes/java/awt/Menu.java index b98692b3e69..82b3472680d 100644 --- a/src/java.desktop/share/classes/java/awt/Menu.java +++ b/src/java.desktop/share/classes/java/awt/Menu.java @@ -526,7 +526,8 @@ public class Menu extends MenuItem implements MenuContainer, Accessible { /** * Writes default serializable fields to stream. * - * @param s the {@code ObjectOutputStream} to write + * @param s the {@code ObjectOutputStream} to write + * @throws IOException if an I/O error occurs * @see AWTEventMulticaster#save(ObjectOutputStream, String, EventListener) * @see #readObject(ObjectInputStream) */ @@ -540,10 +541,12 @@ public class Menu extends MenuItem implements MenuContainer, Accessible { * Reads the {@code ObjectInputStream}. * Unrecognized keys or values will be ignored. * - * @param s the {@code ObjectInputStream} to read - * @exception HeadlessException if - * {@code GraphicsEnvironment.isHeadless} returns - * {@code true} + * @param s the {@code ObjectInputStream} to read + * @throws ClassNotFoundException if the class of a serialized object could + * not be found + * @throws IOException if an I/O error occurs + * @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()} + * returns {@code true} * @see java.awt.GraphicsEnvironment#isHeadless * @see #writeObject(ObjectOutputStream) */ |
