aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-12-08 00:10:58 +0900
committerchibash <chiba@javassist.org>2015-12-08 00:10:58 +0900
commit4cf21faf5416cb73988ba7556fdb91f6f604b311 (patch)
tree064344d744649154e233054c57879e156a4fbfb2 /src/test/test5
parentbb2e4c8745bc156afa2a0c0a7e31419ed29afa02 (diff)
downloadjavassist-4cf21faf5416cb73988ba7556fdb91f6f604b311.tar.gz
javassist-4cf21faf5416cb73988ba7556fdb91f6f604b311.zip
fixes JASSIST-255 Primitive array return values cause invalid cast to Object
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/InvalidCastDollar.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/test5/InvalidCastDollar.java b/src/test/test5/InvalidCastDollar.java
new file mode 100644
index 00000000..9633189e
--- /dev/null
+++ b/src/test/test5/InvalidCastDollar.java
@@ -0,0 +1,11 @@
+package test5;
+
+public class InvalidCastDollar {
+ public static byte[] arrayReturn() {
+ return new byte[12];
+ }
+
+ public static int intReturn() {
+ return 23;
+ }
+}