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

(tz) Regression test java/util/TimeZone/SolarisTZVM.sh is failing on Solaris 10

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86, sparc
    • OS:
      solaris_2.3, solaris_10
    • Verification:
      Verified

      Backports

        Description

        ============================================================
        JDK:Mantis jdk1.4.2 b25
        OS : Solaris sparc 10 (b35)
        Regression test case: test/java/util/TimeZone/SolarisTZVM.sh
        =============================================================

        Regression test java/util/TimeZone/SolarisTZVM.sh is failing with error as below;
        ===================================================
        ----------System.out:(11/237)----------
        XST4:15XDT3:30,0/0:00,0/1:00
        user.language=en
        user.country=<unset>
        user.timezone=GMT-04:15
        Locale.getDefault()=en
        GMT-04:15 ok
        XST4:15XDT3:30,0/0:00,366/0:00
        user.language=en
        user.country=<unset>
        user.timezone=GMT
        Locale.getDefault()=en
        ----------System.err:(2/244)----------
        Exception in thread "main" java.lang.RuntimeException: Fail: Expected offset -255, got 0: GMT -> sun.util.calendar
        .ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
                at CheckVMZone.main(CheckVMZone.java:54)
        result: Failed. Execution failed: exit code 1


        test result: Failed. Execution failed: exit code 1
        ===================================================

        * This problem does not occur on Solaris sparc 9/8.

        Please see the attached log file for more detail.

        * NOTE *
        Solaris sparc 10:
        [rs88024@myers]:> env TZ=XST4:15XDT3:30,0/0:00,366/0:00 date
        Tue Jun 3 08:30:40 GMT 2003
        [rs88024@myers]:> date -u
        Tue Jun 3 08:30:55 GMT 2003

        Solaris sparc 9:
        [rs88024@ronrico]:> env TZ=XST4:15XDT3:30,0/0:00,366/0:00 date
        Tue Jun 3 05:00:18 XDT 2003
        [rs88024@ronrico]:> date -u
        Tue Jun 3 08:30:33 GMT 2003


        [###@###.### 2003-06-03]

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                peytoia Yuka Kamiya (Inactive)
                Reporter:
                rsuzukisunw Rieko Suzuki (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: