comparison agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ClassDump.java @ 12932:7fe6ef09d242

8025638: jmap returns 0 instead of 1 when it fails. Summary: Re-factored some code handling return values and fails/errors during tool execution. Reviewed-by: sla, kevinw Contributed-by: fredrik.arvidsson@oracle.com
author farvidsson
date Wed, 16 Oct 2013 09:20:23 +0200
parents 10c59b8021ec
children
comparison
equal deleted inserted replaced
12859:f509b8f4699b 12932:7fe6ef09d242
175 } 175 }
176 176
177 public static void main(String[] args) { 177 public static void main(String[] args) {
178 178
179 ClassDump cd = new ClassDump(); 179 ClassDump cd = new ClassDump();
180 cd.start(args); 180 cd.execute(args);
181 cd.stop();
182 } 181 }
183 } 182 }