Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8039317

Read currency.data as a resource

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • Verification:
      Verified

      Description

      --- Original description ---
      This bug asks to examine the i18n data/properties files under ${java.home}/lib and understand if they are configurations and whether they should be resources files (in resources.jar).

      lib/calendars.properties
      lib/currency.data
      lib/hijrah-config-umalqura.properties

      Perhaps there are other files under ${java.home}/lib for i18n not listed above.

      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 the above files are not a supported interface and so should move to a location that should be read as resources.
      ---

      As I have separated issues for calendar.properties and hijrah-config-umalqura.properties as distinct issues, this issue intends to deal with currency.data file only. I also modified the title accordingly.

        Issue Links

          Activity

          Hide
          alanb Alan Bateman added a comment -
          Isn't the system property java.util.currency.data the supported way to do this now?
          Show
          alanb Alan Bateman added a comment - Isn't the system property java.util.currency.data the supported way to do this now?
          Hide
          alanb Alan Bateman added a comment -
          @Naoto - what do you mean by "have to be modifiable"? If we support customers changing these files then it is a supported interface. Maybe you the issue here is we are missing a means to override the configuration?
          Show
          alanb Alan Bateman added a comment - @Naoto - what do you mean by "have to be modifiable"? If we support customers changing these files then it is a supported interface. Maybe you the issue here is we are missing a means to override the configuration?
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/8070aad1c879
          User: naoto
          Date: 2014-06-26 17:57:14 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/8070aad1c879 User: naoto Date: 2014-06-26 17:57:14 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/8070aad1c879
          User: lana
          Date: 2014-07-09 17:53:06 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/8070aad1c879 User: lana Date: 2014-07-09 17:53:06 +0000

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: