jlink --include-locales fails with java.util.regex.PatternSyntaxException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b125
    • generic
    • generic
    • Not verified

      jlink fails with the --include-locales option with java.util.regex.PatternSyntaxException.

      $ jlink --output /tmp/myimage --modulepath build/linux-x86_64-normal-server-release/images/jdk/jmods --addmods jdk.localedata --include-locales es
      Error: java.util.regex.PatternSyntaxException: Explicit 'name separator' in class near index 27
      *sun/text/resources/ext/[^\/]+_es.class

            Assignee:
            Naoto Sato
            Reporter:
            Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: