ok, so we will get around the problem with package restricted constructors by using
reflection.
what we're doing now is that the Class clazz parameter that is defined in
JavassistTypeInfo is never instantiated (eg always null) and we use the CtClass object
where clazz earlier where used in JTIFactoryImpl.
if we disregard the deprecated public method JavassistTypeInfo.getType(), clazz isnt use
at all in JavassistTypeInfo except when throwing an exception in the getSuperclass()
method (which could/should be changed to CtClass anyway imo).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200077#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...