[jboss-user] [Javassist user questions] - Re: How to create CtClass java.lang.Object

chiba do-not-reply at jboss.com
Tue Mar 4 11:52:28 EST 2008

Ah.. it is not allowed in J2SE to create another version
of java.lang.Object.

For your purpose, what about:

CtClass klass = classPool.get("java.lang.Object");

You can modify klass as you want.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133988#4133988

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133988

More information about the jboss-user mailing list