aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/tjpStaticPart/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/tjpStaticPart/Test.java')
-rw-r--r--tests/bugs/tjpStaticPart/Test.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs/tjpStaticPart/Test.java b/tests/bugs/tjpStaticPart/Test.java
new file mode 100644
index 000000000..1438698f5
--- /dev/null
+++ b/tests/bugs/tjpStaticPart/Test.java
@@ -0,0 +1,14 @@
+package tjpStaticPart;
+
+import java.io.*;
+
+public class Test {
+
+ public static void main(String[] args) throws Exception{
+ try {
+ FileInputStream in = new FileInputStream("file-does-not-exist");
+ } catch (FileNotFoundException e) {
+ }
+
+ }
+}