Details
Description
Use of javassist is typically done for access to non-RUNTIME Retention annotations or for annotation parsing over a large set of classes when you don't want to load the class. We don't have those use cases and thus can eliminate the javassist dependency in AnnotationFinder.
New version of AnnotationFinder is attached that seems to work - I wasn't sure if getAnnotation should look at interfaces and/or superclasses (not needed if we appropriate add the @Inherited to our annotations).
jbehave-core/pom.xml also changed to remove the dependency.
Activity
Brian Repko
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | 0001-removal-of-javassist.patch [ 50341 ] | |
Attachment | 0002-merge-change-of-Exception-type.patch [ 50342 ] | |
Attachment | 0003-add-support-for-inherited-annotation-values.patch [ 50343 ] |
Mauro Talevi
made changes -
Assignee | Mauro Talevi [ maurotalevi ] | |
Fix Version/s | 3.0 [ 16302 ] | |
Affects Version/s | 3.0 [ 16302 ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Brian, JDK don't allow you to merge arrays attributes if you need extend your Embedders and reuse your annotated steps classes...
It was the mainly reason that I've choosed to use javassist.
cheers