Duplicate :
|
|
Relates :
|
|
Relates :
|
Since constant pool indexes can change in a class redefine and type annotations refer to the const pool the Runtime(In)VisibleTypeAnnotation attributes needs to be rewritten under a class redefine to match the new indexes in the the const pool. Today the type annotations are cleared out instead of possibly having broken indexes, this means type annotations disappear in a class redefine. ILW: MLH -> P4