]> source.dussan.org Git - javassist.git/commitdiff
JASSIST-127 and JBPAPP9257
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 2 Aug 2012 23:44:20 +0000 (23:44 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 2 Aug 2012 23:44:20 +0000 (23:44 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@643 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/test/test/javassist/proxy/JBPAPP9257Test.java

index 0de07298b6009bc94ffab5ac79419202e534096e..019f898d1590aa086da9bdee521575628b338cec 100644 (file)
@@ -29,7 +29,7 @@ public class JBPAPP9257Test extends TestCase {
         };
         Foo foo = (Foo) c.newInstance();
         try {
-            ((ProxyObject)foo).setHandler(mi);
+            ((Proxy)foo).setHandler(mi);
             fail("foo is a ProxyObject!");
         } catch (ClassCastException e) {}
         ((Proxy)foo).setHandler(mi);