8245283: JFR: Can't handle constant dynamic used by Jacoco agent

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2020-06-04 00:14:33 +02:00
parent 7d1eb8f07c
commit 2bfc64ad1f

View File

@ -683,6 +683,10 @@ static u2 position_stream_after_cp(const ClassFileStream* stream) {
}
}
continue;
case JVM_CONSTANT_Dynamic:
stream->skip_u2_fast(1);
stream->skip_u2_fast(1);
continue;
default:
assert(false, "error in skip logic!");
break;