cleanup
This commit is contained in:
parent
bf6ec2acb6
commit
47a88fac4a
1 changed files with 1 additions and 3 deletions
|
|
@ -23,8 +23,6 @@ public class Agent {
|
||||||
|
|
||||||
inst.addTransformer((classLoader, resource, aClass, protectionDomain, uninstrumentedByteCode) -> {
|
inst.addTransformer((classLoader, resource, aClass, protectionDomain, uninstrumentedByteCode) -> {
|
||||||
if (!isInnerClass(resource) && shouldInclude(resource, includes)) {
|
if (!isInnerClass(resource) && shouldInclude(resource, includes)) {
|
||||||
// System.out.println("instrumenting " + resource);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
byte[] instrumentedBytecode = instrumentMethod(resource);
|
byte[] instrumentedBytecode = instrumentMethod(resource);
|
||||||
if (instrumentedBytecode != null) {
|
if (instrumentedBytecode != null) {
|
||||||
|
|
@ -123,7 +121,7 @@ public class Agent {
|
||||||
static class BooleanWrapper {
|
static class BooleanWrapper {
|
||||||
boolean value;
|
boolean value;
|
||||||
|
|
||||||
public BooleanWrapper(boolean value) {
|
BooleanWrapper(boolean value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue