On Mon, 15 Mar 2021 17:34:30 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> > I thought about it earlier but I raised this PR as I don't see this method 
> > was updated from inception so I was not sure if it will be in future and 
> > also since it already says "JComponent subclasses **must** override this 
> > method" so a noop default implementation will not be a problem, I guess.
> 
> Based on the current spec we may add some kind of assertion that this method 
> must not be called.

I'm afraid this can be interpreted in a wrong way: *never* call 
`JComponent.updateUI()`, which is not what we want to say, is it?

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

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

Reply via email to