<Swing Dev> RFR: 8264218: Public method javax.swing.JMenu.setComponentOrientation() has no spec

Alexey Ivanov aivanov at openjdk.java.net
Thu Apr 1 16:12:41 UTC 2021


On Thu, 1 Apr 2021 15:52:49 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The method was overridden to change the implementation without changing of specification.

This might have been overlooked. The overridden method changes the behaviour. I'm for documenting the updated behaviour.

> This is exactly the case that was changed in the JavaDoc tool in jdk10. For this case, the JavaDoc tool decided to skip spec generation, it is a feature. So this is not a bug in the Swing, probably it is a bug in the JavaDoc tool, maybe not a bug at all.

It looks as the intentional change in the javadoc tool.

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

PR: https://git.openjdk.java.net/jdk/pull/3213


More information about the swing-dev mailing list