summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test/javassist/proxy/JBPAPP9257Test.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test/javassist/proxy/JBPAPP9257Test.java b/src/test/test/javassist/proxy/JBPAPP9257Test.java
index 0de07298..019f898d 100644
--- a/src/test/test/javassist/proxy/JBPAPP9257Test.java
+++ b/src/test/test/javassist/proxy/JBPAPP9257Test.java
@@ -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);