mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-20 18:25:55 +10:00
[강운덕] [LUCYSUS-1744] was에서 class를 reloading할 경우 오류 수정.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@1157 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -428,7 +428,9 @@ public class JavaAssistClass implements InstrumentClass {
|
||||
@Override
|
||||
public byte[] toBytecode() {
|
||||
try {
|
||||
return ctClass.toBytecode();
|
||||
byte[] bytes = ctClass.toBytecode();
|
||||
ctClass.detach();
|
||||
return bytes;
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.INFO, "IoException class:" + ctClass.getName() + " " + e.getMessage(), e);
|
||||
} catch (CannotCompileException e) {
|
||||
|
||||
Reference in New Issue
Block a user