Tracking ASM 5.0.4 development: Fix for ASM issue 317539
Issue: SPR-12255
This commit is contained in:
@@ -152,6 +152,9 @@ public class TypePath {
|
|||||||
typeArg = typeArg * 10 + c - '0';
|
typeArg = typeArg * 10 + c - '0';
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
|
if (i < n && typePath.charAt(i) == ';') {
|
||||||
|
i += 1;
|
||||||
|
}
|
||||||
out.put11(TYPE_ARGUMENT, typeArg);
|
out.put11(TYPE_ARGUMENT, typeArg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -164,7 +167,7 @@ public class TypePath {
|
|||||||
* ARRAY_ELEMENT} steps are represented with '[', {@link #INNER_TYPE
|
* ARRAY_ELEMENT} steps are represented with '[', {@link #INNER_TYPE
|
||||||
* INNER_TYPE} steps with '.', {@link #WILDCARD_BOUND WILDCARD_BOUND} steps
|
* INNER_TYPE} steps with '.', {@link #WILDCARD_BOUND WILDCARD_BOUND} steps
|
||||||
* with '*' and {@link #TYPE_ARGUMENT TYPE_ARGUMENT} steps with their type
|
* with '*' and {@link #TYPE_ARGUMENT TYPE_ARGUMENT} steps with their type
|
||||||
* argument index in decimal form.
|
* argument index in decimal form followed by ';'.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
@@ -182,7 +185,7 @@ public class TypePath {
|
|||||||
result.append('*');
|
result.append('*');
|
||||||
break;
|
break;
|
||||||
case TYPE_ARGUMENT:
|
case TYPE_ARGUMENT:
|
||||||
result.append(getStepArgument(i));
|
result.append(getStepArgument(i)).append(';');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
result.append('_');
|
result.append('_');
|
||||||
|
|||||||
Reference in New Issue
Block a user