< prev index next > src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ObjectReader.java
Print this page
}
public Object readMethodOrConstructor(sun.jvm.hotspot.oops.Method m)
throws NoSuchMethodException, ClassNotFoundException {
String name = m.getName().asString();
! if (name.equals("<init>")) {
return readConstructor(m);
} else {
return readMethod(m);
}
}
}
public Object readMethodOrConstructor(sun.jvm.hotspot.oops.Method m)
throws NoSuchMethodException, ClassNotFoundException {
String name = m.getName().asString();
! if (name.equals("<init>") || name.equals("<vnew>")) {
return readConstructor(m);
} else {
return readMethod(m);
}
}
< prev index next >