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

Revisit the way of loading BreakIterator rules/dictionaries

XMLWordPrintable

    • b143
    • generic
    • generic
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: