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

Revisit the way of loading BreakIterator rules/dictionaries

    Details

    • Subcomponent:
    • Resolved In Build:
      b143
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Currently the rules/dictionary data of BreakIterator implementation in COMPAT provider are specified with the resource path/file name through the ResourceBundle. Then the actual resources are obtained by opening an input stream to it. In order for java.base module to access jdk.localedata's resource, it has to explicitly define "exports" for those data resources.

      Instead, by replacing the path/filename to the break iterator data with the actual data, that dependency goes away.

        Attachments

          Activity

            People

            • Assignee:
              okutsu Masayoshi Okutsu
              Reporter:
              naoto Naoto Sato
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: