On Wed, 27 Jul 2022 19:28:28 GMT, Andy Goryachev <[email protected]> wrote:

>> modules/javafx.controls/src/main/java/javafx/scene/control/PopupControl.java 
>> line 269:
>> 
>>> 267:             if(skin != null) {
>>> 268:                 skin.install();
>>> 269:             }
>> 
>> You should probably also add the check for PopupControl.
>
> sorry, what check?
> 
> if you mean
>             if (skin != null) {
>                 if(skin.getSkinnable() != Control.this) {
> 
> we can't because PopupControl violates the 1:1 rule.

Yes, but that can be fixed so the rule is not violated.

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

PR: https://git.openjdk.org/jfx/pull/845

Reply via email to