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
ClassfileParser: correct types for annotation arguments
As specified in https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.16.1,
an annotation argument of type boolean, byte, char or short will be represented
as a CONSTANT_Integer in the classfile, so when we parse it we get an
Int, but before this commit we did not convert this Int to the correct
type for the annotation argument, thus creating ill-typed trees.
0 commit comments