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

JCK: api/java_util/TimeZone/index.html#static fails on Win 2000, Win XP Home

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      x86
    • OS:
      windows_2000
    • Verification:
      Not verified

      Backports

        Description

        The following JCK tests fail on win 2000 and win XP Home:

        api/java_util/TimeZone/index.html#static[TimeZone2013]
        api/java_util/TimeZone/index.html#static[TimeZone2014]
        api/java_util/TimeZone/index.html#static[TimeZone2017]

        To reproduce compile and run attached class. This failure is regression, it is not reproducible in jdk5.0_02 and is not reproducible in jdk6.0-b37.

        Please find sample output below:

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>set JAVAC="C:\Program Files\Java\jdk1.5.0_04\bin\javac.exe "

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>"C:\Program Files\Java\jdk1.5.0_04\bin\javac.exe " test.java
        Note: test.java uses unchecked or unsafe operations.
        Note: Recompile with -Xlint:unchecked for details.

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>set JAVA=Z:\Links\java\jdk1.5.0_02\windows-i586\bin\java.exe

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>Z:\Links\java\jdk1.5.0_02\windows-i586\bin\java.exe -version
        java version "1.5.0_02-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-ea-b04)
        Java HotSpot(TM) Client VM (build 1.5.0_02-ea-b04, mixed mode)

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>Z:\Links\java\jdk1.5.0_02\windows-i586\bin\java.exe Test
        PASSED OK

        PASSED OK

        PASSED OK

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>set JAVA="C:\Program Files\Java\jre1.5.0_04\bin\java.exe"

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>"C:\Program Files\Java\jre1.5.0_04\bin\java.exe" -version
        java version "1.5.0_04-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-ea-b04)
        Java HotSpot(TM) Client VM (build 1.5.0_04-ea-b04, mixed mode)

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>"C:\Program Files\Java\jre1.5.0_04\bin\java.exe" Test
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : AGT that is not supported tz.getID()GMT
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : America/Argentina/Buenos_Aires that is not supported tz.getID()GMT
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : America/Argentina/Catamarca that is not supported tz.getID()GMT
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : America/Argentina/Cordoba that is not supported tz.getID()GMT
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : America/Argentina/Jujuy that is not supported tz.getID()GMT
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : America/Argentina/Mendoza that is not supported tz.getID()GMT
        FAILED TimeZone.getAvailableIDs returns wrong result it contains ID : America/Rosario that is not supported tz.getID()GMT

        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : AGT with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : AGT which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Buenos_Aires with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Buenos_Aires which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Catamarca with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Catamarca which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Cordoba with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Cordoba which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Jujuy with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Jujuy which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Mendoza with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Argentina/Mendoza which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Rosario with wrong offset : 0 rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it contains ID : America/Rosario which is not available rawOffset = -10800000
        FAILED TimeZone.getAvailableIDs(rawOffset) returns wrong result it doesn't contains ID : AGT which is an available ID for the offset rawOffset = 0

        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = AGT
        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = America/Argentina/Buenos_Aires
        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = America/Argentina/Catamarca
        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = America/Argentina/Cordoba
        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = America/Argentina/Jujuy
        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = America/Argentina/Mendoza
        FAILED TimeZone.getTimeZone(ID) returns a wrong value : sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] it has wrong ID = GMT ID = America/Rosario

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>set JAVA="Z:\Links\java\jdk6.0\windows-i586\bin\java.exe"

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>"Z:\Links\java\jdk6.0\windows-i586\bin\java.exe" -version
        Z:\...RUNTIME.DEFAULT.OJVM\investigate>runtime.bat >log
        java version "1.6.0-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b37)
        Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)

        Z:\Links\stt\jck-15a_runtime-win2k_c1_Xcomp-2005-05-12-17-43-09-0067\AT-05.12-17.43.17\RUNTIME.DEFAULT.OJVM\investigate>"Z:\Links\java\jdk6.0\windows-i586\bin\java.exe" Test
        PASSED OK

        PASSED OK

        PASSED OK

        ###@###.### 2005-05-27 16:21:33 GMT

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  billyh William Harnois
                  Reporter:
                  idergali Ilya Dergalin (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: