On Tue, 3 Jan 2023 06:00:37 GMT, Prasanta Sadhukhan <[email protected]>
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