JDK-8039269 : images/cursors should not be in ${java.home}/lib
  • Type: Sub-task
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-04-04
  • Updated: 2015-06-03
  • Resolved: 2015-02-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b54Fixed
Related Reports
Relates :  
Description
This bug asks that ${java.home}/lib/images/cursors be examined to understand why the cursor images and their configuration are not resources files (in resources.jar).

The motive for this bug is the modular JDK where we need the flexibility to put anything that is module-private into a module-private location. In this case it would appear that cursor.properties and the cursor images are not a supported interface and so should move to a location that is private to the "desktop" module.

Comments
Sergey has a patch out for review that makes it clear that the cursor images are not a supported interface. It also moves them out of the conf directory (good). As it is not a supported interface then the issue no longer needs to be on the Jigsaw list so I will drop the "modularization" label.
14-02-2015

This issue was originally on the list for JEP 220 but has to be timed out and dropped from the list.
07-02-2015

I think we have to timeout this issue and assume that nothing in ${java.home}/lib/images is supported. I'll drop the bertha label from this issue on the assumption that there isn't anything to do be done for the modular image milestone. At some point it would be good to re-examine this area and at least see if it feasible to change cursors.properties to be a resource file. Additionally, the images in jdk/src/java.desktop/share/conf/images/cursors will need to find a better home in the source tree so as to better mirror the output tree.
24-10-2014

Sergey, please reply to Alan
16-10-2014

Chris is currently in the process of doing the lib -> conf moves. We need to know if cursors.properties is supported interface or not. There doesn't appear to be anything in the javadoc. If we don't hear anything soon then we will assume that it is not supported and we will leave it in the lib tree as a JDK-internal configuration file. At the end of this process then we will examine the src tree to ensure that non-supported files are moved out of the source conf directory.
16-10-2014

Any update on this? Should we just ignore ${java.home}/lib/images/cursors and assume that it's not supported for anything to access these resources directly?
04-10-2014