diff options
Diffstat (limited to 'sample/reflect/Main.java')
-rw-r--r-- | sample/reflect/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/reflect/Main.java b/sample/reflect/Main.java index d9733abc..972e8964 100644 --- a/sample/reflect/Main.java +++ b/sample/reflect/Main.java @@ -1,6 +1,6 @@ package sample.reflect;
-import javassist.reflect.Loader;
+import javassist.tools.reflect.Loader;
/*
The "verbose metaobject" example (JDK 1.2 or later only).
@@ -14,7 +14,7 @@ import javassist.reflect.Loader; To run,
- % java javassist.reflect.Loader sample.reflect.Main Joe
+ % java javassist.tools.reflect.Loader sample.reflect.Main Joe
Compare this result with that of the regular execution without reflection:
@@ -25,7 +25,7 @@ public class Main { Loader cl = (Loader)Main.class.getClassLoader();
cl.makeReflective("sample.reflect.Person",
"sample.reflect.VerboseMetaobj",
- "javassist.reflect.ClassMetaobject");
+ "javassist.tools.reflect.ClassMetaobject");
cl.run("sample.reflect.Person", args);
}
|