< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ObjectReader.java

Print this page
@@ -640,11 +640,11 @@
     }
  
     public Object readMethodOrConstructor(sun.jvm.hotspot.oops.Method m)
                       throws NoSuchMethodException, ClassNotFoundException {
        String name = m.getName().asString();
-       if (name.equals("<init>")) {
+       if (name.equals("<init>") || name.equals("<vnew>")) {
           return readConstructor(m);
        } else {
           return readMethod(m);
        }
     }
< prev index next >