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

TEST_BUG: test java/nio/charset/coders/IsSupported.java fails,1.4.2_05b01

XMLWordPrintable

    • 05
    • generic
    • generic
    • Verified

      testcase below fails for 1.4.2_05b01.
      Testbase :
      /net/latte/deployment1/regtests/142/test/

      File :
      java/nio/charset/coders/IsSupported.java fails for 1.4.2_05b01

      Platforms tested include Solaris Sparc and Linux.

      tester@xpsc3:/tmp/coders> java -version
      java version "1.4.2_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
      tester@xpsc3:/tmp/coders> java -Dsun.nio.cs.map=Windows-31J/Shift_JIS IsSupported Shift_JIS false
      <PASS>

      tester@xpsc3:/tmp/coders> export PATH=/usr/java/j2sdk1.4.2_05/bin:${PATH}
      tester@xpsc3:/tmp/coders> java -Dsun.nio.cs.map=Windows-31J/Shift_JIS IsSupported Shift_JIS false
      Exception in thread "main" java.lang.Exception: Support for Shift_JIS is contrary to expectation
              at IsSupported.main(IsSupported.java:20)
      tester@xpsc3:/tmp/coders> java -version
      java version "1.4.2_05-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-ea-b01)
      Java HotSpot(TM) Client VM (build 1.4.2_05-ea-b01, mixed mode)

      ###@###.### 2004-04-05

            chegar Chris Hegarty
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: