Recommended upgrade: fixes a number of small bugs. Also adds support for annotation parameter values.
- Support annotation parameter values (#153):
ClassInfo
,MethodInfo
andFieldInfo
have a new method,List<AnnotationInfo> getAnnotationInfo()
, which returns not just the names of annotations, but also any parameter values they contain. This includes support for class references (through nestedAnnotationInfo
objects), class references (throughAnnotationClassRef
), and enum values (throughAnnotationEnumValue
). - Support more Oracle WebLogic ClassLoader types (#154).
- Fixes support for ignoring exceptions while classloading (#156).
- Verbose logging is improved.
- Exception handling is improved.
- Fixes a number of other small bugs and improves performance in some situations.
Breaks API in a few obscure places, e.g. for method parameter annotations (hence the version bump to 2.9.x): parameter annotations are now returned as an array, rather than as a list, to avoid unnecessarily creating a List
wrapper object. (#151)
(Replaces 2.9.0, which is obsolete, because it had some API issues.)