JDK-4388302 : Test of the correct handling of the Solaris host time zone
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.2.2_007
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-11-10
  • Updated: 2001-03-16
  • Resolved: 2001-03-16
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Passed on Solaris Ref JDk1.2.2_006 but fails on Solaris Ref JDk1.2.2_007

How to run :

javac CheckVMZone.java
sh SolarisTZVM.sh

(Testcases attached.)

Comments
EVALUATION According to 4263805, solaris to java timezone mapping is not fully supported when POSIX "TZ" syntax is used. DST information is dropped. The attached test checks DST information. I modified the file so that DST information is ignored. Once 4263805 is fixed the test should be modified back though. bae-chul.kim@eng 2000-11-15 I disabled the last two test scenario from the test script. They checks solaris-to-java time zone mapping but they are not correct. Please refer 4257314 for details. bae-chul.kim@eng 2000-11-15 Rose.Ng@eng 2001-03-16 Check with Abhijit who confirmed that this bug is no longer an issue and can be closed.
15-11-2000