]
Ales Justin updated JASSIST-115:
--------------------------------
Fix Version/s: 3.13.0.GA
Use try/finally in ClassPool::toClass2
--------------------------------------
Key: JASSIST-115
URL:
https://jira.jboss.org/jira/browse/JASSIST-115
Project: Javassist
Issue Type: Bug
Affects Versions: 3.12.0.GA
Reporter: Ales Justin
Assignee: Ales Justin
Fix For: 3.13.0.GA
Reset of method accessible should be done in finally.
method.setAccessible(true);
Class clazz = (Class)method.invoke(loader, args);
method.setAccessible(false); // <-- HERE
return clazz;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: