Skip to content

Commit

Permalink
skip test bytecode log.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehong-kim authored and emeroad committed Nov 18, 2016
1 parent dc69d12 commit 817eff7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public Class<?> loadClass(String name) throws ClassNotFoundException {
final ClassWriter cw = new ClassWriter(0);
classNode.accept(cw);
final byte[] bytecode = cw.toByteArray();
CheckClassAdapter.verify(new ClassReader(bytecode), false, new PrintWriter(System.out));
// CheckClassAdapter.verify(new ClassReader(bytecode), false, new PrintWriter(System.out));

return super.defineClass(name, bytecode, 0, bytecode.length);
} catch (Exception ex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ public void addMethod() throws Exception {
final ASMClassNodeLoader.TestClassLoader testClassLoader = ASMClassNodeLoader.getClassLoader();
final String targetClassName = "com.navercorp.pinpoint.profiler.instrument.mock.BaseClass";
testClassLoader.setTargetClassName(targetClassName);
testClassLoader.setTrace(true);
testClassLoader.setCallbackHandler(new ASMClassNodeLoader.CallbackHandler() {
@Override
public void handle(ClassNode classNode) {
Expand Down

0 comments on commit 817eff7

Please # to comment.