aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2013-07-24 00:37:31 +0900
committerchibash <chiba@javassist.org>2013-07-24 00:37:31 +0900
commit9098c6f88cfcde95115d44d49b766bb4e8f715ff (patch)
tree7b97413352aee30746ffd94f592bd4db6bd01ce2 /src
parent387bb5897bf5831adce68fba21439b5316ea4e19 (diff)
downloadjavassist-9098c6f88cfcde95115d44d49b766bb4e8f715ff.tar.gz
javassist-9098c6f88cfcde95115d44d49b766bb4e8f715ff.zip
fixed JASSIST-158
Diffstat (limited to 'src')
-rw-r--r--src/test/test4/JIRA158.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/test/test4/JIRA158.java b/src/test/test4/JIRA158.java
new file mode 100644
index 00000000..290f8057
--- /dev/null
+++ b/src/test/test4/JIRA158.java
@@ -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();
+ }
+}