diff --git a/resources/AllgemeinTest/Bar.java b/resources/AllgemeinTest/Bar.java
new file mode 100644
index 00000000..5d82fbb2
--- /dev/null
+++ b/resources/AllgemeinTest/Bar.java
@@ -0,0 +1,10 @@
+public class Bar{
+
+ void visit(Object o){
+ System.out.println("Object");
+ }
+
+ void visit(Bla f){
+ System.out.println("Foo");
+ }
+}
\ No newline at end of file
diff --git a/resources/AllgemeinTest/Box.jav b/resources/AllgemeinTest/Box.jav
index b2716354..95b869ab 100644
--- a/resources/AllgemeinTest/Box.jav
+++ b/resources/AllgemeinTest/Box.jav
@@ -1,8 +1,9 @@
-class Box {
+public class Box {
A a;
+ public Box() { }
public Box(A a) {
- this.a = a;
+ //this.a = a;
}
}
\ No newline at end of file
diff --git a/resources/AllgemeinTest/Foo.jav b/resources/AllgemeinTest/Foo.jav
new file mode 100644
index 00000000..d8195c0f
--- /dev/null
+++ b/resources/AllgemeinTest/Foo.jav
@@ -0,0 +1,6 @@
+public class Foo{
+
+ public accept(Bar b){
+ b.visit(this);
+ }
+}
\ No newline at end of file
diff --git a/resources/bytecode/javFiles/Box.java b/resources/bytecode/javFiles/Box.java
deleted file mode 100644
index 581e7256..00000000
--- a/resources/bytecode/javFiles/Box.java
+++ /dev/null
@@ -1,3 +0,0 @@
-class Box {
- void m(A a) { }
-}
\ No newline at end of file
diff --git a/resources/bytecode/javFiles/Bug332.jav b/resources/bytecode/javFiles/Bug332.jav
new file mode 100644
index 00000000..240dba0c
--- /dev/null
+++ b/resources/bytecode/javFiles/Bug332.jav
@@ -0,0 +1,15 @@
+import java.lang.Object;
+
+interface Visitor {
+ public void visit(Object obj);
+ public void visit(ClassA a);
+}
+
+class ClassA {
+ void accept(Visitor v) {
+ v.visit(this);
+ }
+}
+
+public class Bug332 {
+}
\ No newline at end of file
diff --git a/resources/bytecode/javFiles/Bug337.jav b/resources/bytecode/javFiles/Bug337.jav
new file mode 100644
index 00000000..92bb6fa8
--- /dev/null
+++ b/resources/bytecode/javFiles/Bug337.jav
@@ -0,0 +1,10 @@
+import java.lang.Integer;
+import java.lang.Number;
+import java.lang.Object;
+
+public class Bug337 {
+ public void main() {
+ Fun1$$