<Swing Dev> [9] Review Request: 4339584 Adding a getUI public method to JComponent

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Aug 21 10:49:29 UTC 2015


I just double checked that if I compiles the subclass when the parent 
class has not this method, then recompiles a new parent, the correct 
method in subclass still called, so it seems fine. Probably there are 
some other cases, which will be checked during ccc review.


> Could it break a binary compatibility if someone does not follow the 
> javadoc specification and has in his program getUI() method which 
> return type is not subclass of the ComponentUI?
>
>   Thanks,
>   Alexandr.
>
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-4339584
>> Webrev can be found at: 
>> http://cr.openjdk.java.net/~serb/4339584/webrev.00
>>
>


-- 
Best regards, Sergey.




More information about the swing-dev mailing list