aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest2.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/javassist/JvstTest2.java')
-rw-r--r--src/test/javassist/JvstTest2.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/javassist/JvstTest2.java b/src/test/javassist/JvstTest2.java
index 0ea4571b..5d01961d 100644
--- a/src/test/javassist/JvstTest2.java
+++ b/src/test/javassist/JvstTest2.java
@@ -275,10 +275,8 @@ public class JvstTest2 extends JvstTestRoot {
String src =
"public void sampleMethod() throws Exception {"
+ "java.util.Properties props = new java.util.Properties();"
- + "java.rmi.activation.ActivationGroupDesc.CommandEnvironment ace "
- + " = null;"
- + "java.rmi.activation.ActivationGroupDesc agd "
- + " = new java.rmi.activation.ActivationGroupDesc(props,ace);}";
+ + "test2.Inner2.Child ace = null;"
+ + "test2.Inner2 agd = new test2.Inner2(props, ace);}";
CtMethod newmethod = CtNewMethod.make(src, target);
target.addMethod(newmethod);