-
Bug
-
Resolution: Fixed
-
P3
-
15, 16, 17
-
b24
A public overriding method
JMenu.setComponentOrientation(java.awt.ComponentOrientation)
that has no spec at all is currently accessible here
https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/JMenu.java#L1258
(also please see the attached screenshot.)
And the generated JavaDoc doesn't mention that this method declared in java.awt.Component's is overridden
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JMenu.html (same for JDK16 and so far JDK17)
Related bug v.s. javadoc -JDK-8264217
JMenu.setComponentOrientation(java.awt.ComponentOrientation)
that has no spec at all is currently accessible here
https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/JMenu.java#L1258
(also please see the attached screenshot.)
And the generated JavaDoc doesn't mention that this method declared in java.awt.Component's is overridden
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JMenu.html (same for JDK16 and so far JDK17)
Related bug v.s. javadoc -
- csr for
-
JDK-8267383 Public method javax.swing.JMenu.setComponentOrientation() has no spec
-
- Closed
-
- duplicates
-
JDK-8264217 Overriding method with absent spec is not mentioned as overriding in the JavaSE class specification
-
- Closed
-
- relates to
-
JDK-8264217 Overriding method with absent spec is not mentioned as overriding in the JavaSE class specification
-
- Closed
-