]> source.dussan.org Git - javassist.git/commitdiff
fixed JASSIST-158
authorchibash <chiba@javassist.org>
Tue, 23 Jul 2013 15:37:31 +0000 (00:37 +0900)
committerchibash <chiba@javassist.org>
Tue, 23 Jul 2013 15:37:31 +0000 (00:37 +0900)
src/test/test4/JIRA158.java [new file with mode: 0644]

diff --git a/src/test/test4/JIRA158.java b/src/test/test4/JIRA158.java
new file mode 100644 (file)
index 0000000..290f805
--- /dev/null
@@ -0,0 +1,30 @@
+package test4;
+
+interface JIRA158Intf {
+    int foo(long[] j, double[] d);
+    int bar(long j, double d);
+}
+
+class JIRA158Impl implements JIRA158Intf {
+    public int foo(long[] j, double[] d) {
+        return 7;
+    }
+    public int bar(long j, double d) {
+        return 8;
+    }
+}
+
+public class JIRA158 {
+    long[] jj;
+    double[] dd;
+    long j;
+    double d;
+    JIRA158Intf obj;
+    public JIRA158() {
+        jj = new long[1];
+        dd = new double[1];
+        j = 3L;
+        d = 3.0;
+        obj = new JIRA158Impl();
+    }
+}