Skin fields visibility changed from protected to no modifier in Java9

Wolfgang Zitzelsberger openjfx at
Fri Aug 4 14:32:40 UTC 2017

In some Skins (e.g. MenuButtonSkinBar, TabPaneSkin, TextFieldSkin) the 
visibility of protected fields has been changed so they can't be 
accessed any longer without reflection. Skin classes are public in Java 
9, that's fine - however, limiting visibility makes things even worse. 
Because of Jigsaw a user is now forced to add related "-add-opens" 

Additionally, there is no way to access Modena resources because the 
package is not opened - see also

I wonder why you are that restrictive?

- Wolfgang

More information about the openjfx-dev mailing list