IllegalAccessException after updating 2.1 to 2.2
Greg Brown
greg.x.brown at oracle.com
Mon Aug 20 05:39:26 PDT 2012
> @Resource (in javax.annotation) is more or less equal to @Inject
…except that its name is nowhere near as clear as @Inject or @FXML. As a developer, I'd expect @Resource to have something to do with resource bundles or Class#getResource(), but it actually has nothing to do with either! :-)
Unfortunately, the term "resource" is just too heavily overloaded. Again, I think that sticking with @FXML here probably makes the most sense.
G
More information about the openjfx-dev
mailing list