You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.
JAnnotationArrayMember adds to values field annotations, which are not of type JAnnotationUse. Hence model causes ClassCastException when attempt is made to iterate this collection via JAnnotationArrayMember.annotations():
// ann represents @XmlType class-level annotation. // ClassCastException here: for (JAnnotationUse ann : ((JAnnotationArrayMember) annotation.getAnnotationMembers().get("propOrder")).annotations()) {
...
}
Affected Versions
[2.2.5]
The text was updated successfully, but these errors were encountered:
snajper said:
Hi, thanks. Would you please add some more reproduction code here or the full exception trace to ease the fix/debugging? Thanks in advance.
dma_k said:
I have caught this bug while working on code of jabx-xew plugin. In that line I refer #784, but the method code tries to overcome both of them.
JAnnotationArrayMember adds to values field annotations, which are not of type JAnnotationUse. Hence model causes ClassCastException when attempt is made to iterate this collection via JAnnotationArrayMember.annotations():
Affected Versions
[2.2.5]
The text was updated successfully, but these errors were encountered: