Skip to content
Browse files

uncomment testStatic call in DefineClass

I had commented it out for debugging purposes and forgot to uncomment
it.
  • Loading branch information...
1 parent a3a7a7a commit e6cf992af74b993f278a61c31a16b7d2702b06fb @dicej dicej committed Mar 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/DefineClass.java
View
4 test/DefineClass.java
@@ -49,7 +49,7 @@ private static void testDerived() throws Exception {
}
public static void main(String[] args) throws Exception {
- //testStatic();
+ testStatic();
testDerived();
}
@@ -59,7 +59,7 @@ public MyClassLoader(ClassLoader parent) {
}
public Class defineClass(String name, byte[] bytes) {
- return super.defineClass(name, bytes, 0, bytes.length);
+ return defineClass(name, bytes, 0, bytes.length);
}
}

0 comments on commit e6cf992

Please sign in to comment.
Something went wrong with that request. Please try again.