-
Enhancement
-
Resolution: Fixed
-
P4
-
None
When an image is created using a URL that begins with a leading slash, I'd expect the URL to be treated as relative to the classpath. For example, I'd expect the following code to work, assuming that I have a file named "bar.png" in the foo directory on my classpath:
Image image = new Image("/foo/bar.png");
Image image = new Image("/foo/bar.png");
- relates to
-
JDK-8101891 Image JavaDoc does not document url relative path behaviour
-
- Resolved
-