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

The expected resource bundle is "ja_JP" if the default locale is "ja_JP" in the test

XMLWordPrintable

    • b38
    • generic
    • generic
    • Verified

      Build: I18N Nightly build: 1.6.0-i18n-awt-blade-yy96434_17_May_2005_00_26-b00
      Platform: SunOS 5.10, SunOS 5.9
      Locale: ja
      Test: java/util/ResourceBundle/Control/LoadingStrategiesTest.java

      The above test failed with the following exception thrown:

      #section:main
      ----------messages:(3/141)----------
      command: main LoadingStrategiesTest
      reason: Assumed action based on file name: run main LoadingStrategiesTest
      elapsed time (seconds): 1.647
      ----------System.out:(4/678)----------
      Created: /net/sqesvr-nfs/global/nfs/i18n1/nightly-results/mustang/i18n_reg_60-i18n_Reg_Sol_10_JDS_ja-en-2005-05-17-03-25-25-0460/classes/java/util/ResourceBundle/Control/test/package/Messages.properties
      Created: /net/sqesvr-nfs/global/nfs/i18n1/nightly-results/mustang/i18n_reg_60-i18n_Reg_Sol_10_JDS_ja-en-2005-05-17-03-25-25-0460/classes/java/util/ResourceBundle/Control/test/package/de/Messages.properties
      Created: /net/sqesvr-nfs/global/nfs/i18n1/nightly-results/mustang/i18n_reg_60-i18n_Reg_Sol_10_JDS_ja-en-2005-05-17-03-25-25-0460/classes/java/util/ResourceBundle/Control/test/package/ja_JP/Messages.properties
      Per-locale package with Locale.US: got "ja_JP", expected ""
      ----------System.err:(13/728)----------
      java.lang.RuntimeException: FAILED: 1 error(s)
      at LoadingStrategiesTest.main(LoadingStrategiesTest.java:49)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:595)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: FAILED: 1 error(s)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: FAILED: 1 error(s)
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: FAILED: 1 error(s)

      The failed result can be found at
      http://sqeweb.sfbay/i18n/nightly-results/mustang/i18n_reg_60-i18n_Reg_Sol_10_JDS_ja-en-2005-05-17-03-25-25-0460/java/util/ResourceBundle/Control/LoadingStrategiesTest.jtr

      Note:
      1. this is a new regression test added from this build
      2. the same test passed in SunOS 5.10, ar; SunOS 5.9, zh; Windows XP, zh; IA10, ko
      with same nightly build
      ###@###.### 2005-05-17 22:17:10 GMT

      This test also fails if the default locale sets up to de.
      This states the root cause for the defect of this new function support.
      If the private package directory is the same as the default locale, then the expected resource bundle will not be "" but the default one such as "ja_JP", "de".
      ###@###.### 2005-05-17 23:52:39 GMT

            okutsu Masayoshi Okutsu
            mtiensunw Minchi Tien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: