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 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user