-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
x86
-
windows_2000
FULL PRODUCT VERSION :
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When dubuging using the JDB, FileNotFoundException if thrown when initialising a Calendar instance. Othewise code executes fine when running, only throws when debug run.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Debug the included code snippet.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No errors at all.
ACTUAL -
Exception occurred: java.io.FileNotFoundException (uncaught)"thread=main", java.
io.FileInputStream.open(), line=-1 bci=-1
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.util.*;
public class Untitled1
{
public static Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("EST"));
public static void main(String[] args)
{
System.out.println("The calendar is: \n\n");
System.out.println(cal);
}
}
---------- END SOURCE ----------
###@###.### 2005-03-16 23:38:05 GMT
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When dubuging using the JDB, FileNotFoundException if thrown when initialising a Calendar instance. Othewise code executes fine when running, only throws when debug run.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Debug the included code snippet.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No errors at all.
ACTUAL -
Exception occurred: java.io.FileNotFoundException (uncaught)"thread=main", java.
io.FileInputStream.open(), line=-1 bci=-1
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.util.*;
public class Untitled1
{
public static Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("EST"));
public static void main(String[] args)
{
System.out.println("The calendar is: \n\n");
System.out.println(cal);
}
}
---------- END SOURCE ----------
###@###.### 2005-03-16 23:38:05 GMT
- duplicates
-
JDK-4965317 VM reports caught exceptions as uncaught
- Closed
- relates to
-
JDK-5045774 (tz) ZoneInfoFile.readZoneInfoFile should use canRead to detect non existing files
- Closed