<i18n dev> RFR: 4934362: see also refers to self

Sergey Bylokhov serb at openjdk.org
Fri Jan 6 05:15:10 UTC 2023


On Tue, 3 Jan 2023 06:00:37 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Some methods and constants has a hyperreference to self in javadoc which is rectified to reference proper methods

src/java.desktop/share/classes/java/awt/Component.java line 2268:

> 2266:      *          of this component
> 2267:      * @throws NullPointerException if {@code d} is {@code null}
> 2268:      * @see #getSize

The old ref seems to be a shurtcut to the `setSize(int, int)` 
take a look to the current spec
https://docs.oracle.com/en/java/javase/19/docs/api/java.desktop/java/awt/Component.html#setSize(java.awt.Dimension)

-------------

PR: https://git.openjdk.org/jdk/pull/11820


More information about the i18n-dev mailing list