mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-206160 Instrumentation in java.lang.Thread does not work when running as Debug mode in Intellij Idea
disable agent during redefinition or retransform
This commit is contained in:
@@ -168,7 +168,7 @@ public class CaptureAgent {
|
||||
Class<?> classBeingRedefined,
|
||||
ProtectionDomain protectionDomain,
|
||||
byte[] classfileBuffer) {
|
||||
if (className != null) {
|
||||
if (className != null && classBeingRedefined == null) { // we do not support redefinition or retransform
|
||||
List<InstrumentPoint> classPoints = myInstrumentPoints.get(className);
|
||||
if (classPoints != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user