FXML backwards compatibility issue

Greg Brown greg.x.brown at oracle.com
Wed Jun 27 06:15:26 PDT 2012


> In my FXML Controllers I have the following member variable:
> 
>    private ResourceBundle resources;
> 
> After loading my Controller via FXML, I would then set this manually so my
> Controllers could access the resources needed.
> 
> In version JFX 2.1 and lower this works fine but in version 2.2 it looks
> like JFX has decided it has control over this variable now? As a result JFX
> attempts to inject the resources, but it fails because the variable is
> private and not marked with @FXML. 


This is a bug. I'll start looking into a fix, but I'd appreciate it if you would submit a JIRA ticket. Thanks.





More information about the openjfx-dev mailing list