Open GerroDen opened 1 month ago
Hello,
I come across an reflect.InaccessibleObjectException when trying to use SMOG with javassist. I also found out that there is an issue about it in javassist: https://github.com/jboss-javassist/javassist/issues/369. This issue states that you no longer can use ctClass.toClass() but have to use ctClass.toClass(neigborClass). The code actually uses ctClass.toClass() in https://github.com/mistraltechnologies/smog-javassist/blob/master/src/main/java/com/mistraltech/smog/proxy/javassist/util/JavassistClassUtils.java#L56 What else can I do to make it work?
reflect.InaccessibleObjectException
ctClass.toClass()
ctClass.toClass(neigborClass)
Thank you for raising this - I will look into it.
Hello,
I come across an
reflect.InaccessibleObjectException
when trying to use SMOG with javassist. I also found out that there is an issue about it in javassist: https://github.com/jboss-javassist/javassist/issues/369. This issue states that you no longer can usectClass.toClass()
but have to usectClass.toClass(neigborClass)
. The code actually usesctClass.toClass()
in https://github.com/mistraltechnologies/smog-javassist/blob/master/src/main/java/com/mistraltech/smog/proxy/javassist/util/JavassistClassUtils.java#L56 What else can I do to make it work?