<Swing Dev> RFR: 8266902: Remove final modifier from static methods in swing.text.Utilities

Alexey Ivanov aivanov at openjdk.java.net
Fri May 28 19:41:28 UTC 2021


On Fri, 28 May 2021 01:43:41 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This is not a noop fix, the final keyword in the static method prevents the method to be hidden by the subclass.

You're right. I've completely forgotten about this feature in Java. When I submitted the issue, I wanted to resolve the warnings from the IDE.

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

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


More information about the swing-dev mailing list