diff options
author | chibash <chiba@javassist.org> | 2015-12-08 00:10:58 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2015-12-08 00:10:58 +0900 |
commit | 4cf21faf5416cb73988ba7556fdb91f6f604b311 (patch) | |
tree | 064344d744649154e233054c57879e156a4fbfb2 /src/test/test5 | |
parent | bb2e4c8745bc156afa2a0c0a7e31419ed29afa02 (diff) | |
download | javassist-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.java | 11 |
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; + } +} |