[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object
skarzhevskyy
do-not-reply at jboss.com
Tue Mar 4 11:38:18 EST 2008
This is exactly what I do:
---
klass = classPool.makeClass("java.lang.Object", null);
---
When this is called the class is created but when I see bytecode
System.out.println(klass.getSuperclass())
->> java.lang.Object
----
public class java.lang.Object extends java.lang.Object {
....
}
--
or when try to run proguard that is using this classe It goes into stackOverflowError parsing it.
--
There should be a special case to handle the java.lang.Object class!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133978#4133978
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133978
More information about the jboss-user
mailing list