On Mon, 15 Mar 2021 21:35:23 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> But probably it might be changed in the future? If for example, we will move 
>> some common functionality from the standard subclasses to this method.
>
> It hasn't changed over all these years… In addition to that, the 
> specification says you *must* override and shows the example without calling 
> `super.updateUI()`.
> My take is it's unlikely to change. Yet I understand your concern: Stating 
> explicitly `JComponent.updateUI` is empty means there's no way back. So being 
> cautious wouldn't hurt. From this point of view, `@implnote` still gives some 
> flexibility rather than being cast in stone.

`@implnote` added

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

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

Reply via email to