aboutsummaryrefslogtreecommitdiff
path: root/src/java.desktop/share/classes/java/awt/MenuComponent.java
diff options
context:
space:
mode:
authorSergey Bylokhov <serb@openjdk.org>2020-10-06 10:49:56 +0000
committerSergey Bylokhov <serb@openjdk.org>2020-10-06 10:49:56 +0000
commitf397b60ae15a6d355ea7ebd2ab4ba5eef263df49 (patch)
tree6d45abea53f5bfee99a53bd5bd6ad31b92f3f3be /src/java.desktop/share/classes/java/awt/MenuComponent.java
parentc9d1dcc63d3da0eb8f96e0d19336940eb11d6b92 (diff)
downloadopenjdk-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/MenuComponent.java')
-rw-r--r--src/java.desktop/share/classes/java/awt/MenuComponent.java21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/java.desktop/share/classes/java/awt/MenuComponent.java b/src/java.desktop/share/classes/java/awt/MenuComponent.java
index 17f0950c068..cc7dc563124 100644
--- a/src/java.desktop/share/classes/java/awt/MenuComponent.java
+++ b/src/java.desktop/share/classes/java/awt/MenuComponent.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -438,10 +438,12 @@ public abstract class MenuComponent implements java.io.Serializable {
/**
* Reads the menu component from an object input stream.
*
- * @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}
* @serial
* @see java.awt.GraphicsEnvironment#isHeadless
*/
@@ -465,10 +467,11 @@ public abstract class MenuComponent implements java.io.Serializable {
/*
* --- Accessibility Support ---
- *
- * MenuComponent will contain all of the methods in interface Accessible,
- * though it won't actually implement the interface - that will be up
- * to the individual objects which extend MenuComponent.
+ */
+ /**
+ * MenuComponent will contain all of the methods in interface Accessible,
+ * though it won't actually implement the interface - that will be up
+ * to the individual objects which extend MenuComponent.
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
AccessibleContext accessibleContext = null;