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

ResourceBundle.getBundle performance regression

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b129
    • Verification:
      Not verified

      Description

      ResourceBundle.getBundle(String, Locale) performance is significantly slower in JDK 9 compared to JDK 8.

      The bulk of the regression seems to be the attempt to load <baseName>Provider, something that it should not be doing when the consumer is in the unnamed module.

      Attached to this bug is a simple test case.

        Attachments

        1. mybundle.properties
          0.0 kB
          Alan Bateman
        2. rb.java
          0.5 kB
          Alan Bateman

          Activity

            People

            Assignee:
            okutsu Masayoshi Okutsu
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: