Skip to content
Permalink
Browse files

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

Reviewed-by: mgronlun
  • Loading branch information
Erik Gahlin
Erik Gahlin committed Jun 3, 2020
1 parent 7d1eb8f commit 2bfc64ad1f590795f3a507fc8c099a665855a68b
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp
@@ -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;

0 comments on commit 2bfc64a

Please sign in to comment.