File tree 2 files changed +7
-0
lines changed
dd-java-agent/agent-tooling/src
main/java/datadog/trace/agent/tooling/muzzle
test/java/datadog/trace/agent/tooling/muzzle
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,9 @@ public void visitMethodInsn(
390
390
391
391
@ Override
392
392
public void visitTypeInsn (final int opcode , final String stype ) {
393
+ if (ignoreReference (stype )) {
394
+ return ;
395
+ }
393
396
Type type = underlyingType (Type .getObjectType (stype ));
394
397
395
398
if (ignoreReference (type .getInternalName ())) {
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ public static void methodBodyAdvice() {
16
16
a .b .aMethodWithArrays (new String [0 ]);
17
17
B .aStaticMethod ();
18
18
A .staticB .aMethod ("bar" );
19
+ Object barr = new byte [0 ];
20
+ if (barr instanceof byte []) {
21
+ barr = null ;
22
+ }
19
23
}
20
24
21
25
public static class A {
You can’t perform that action at this time.
0 commit comments