diff --git a/TracerOnJavassist/src/_arraySample/A.java b/TracerOnJavassist/src/_arraySample/A.java new file mode 100644 index 0000000..2d43b0a --- /dev/null +++ b/TracerOnJavassist/src/_arraySample/A.java @@ -0,0 +1,16 @@ +package _arraySample; + + +public class A { + Object array[] = new Object[1]; + D d = new D(); + + public void init() { + array[0] = new B(); + } + + public void start() { + d.setC(((B)array[0]).getC()); + } + +}