hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java
equal
deleted
inserted
replaced
1955 * Check for an unknown command |
1955 * Check for an unknown command |
1956 */ |
1956 */ |
1957 if (doit == null) { |
1957 if (doit == null) { |
1958 out.println("Unrecognized command. Try help..."); |
1958 out.println("Unrecognized command. Try help..."); |
1959 } else if (!debugger.isAttached() && !doit.okIfDisconnected) { |
1959 } else if (!debugger.isAttached() && !doit.okIfDisconnected) { |
1960 out.println("Command not valid until the attached to a VM"); |
1960 out.println("Command not valid until attached to a VM"); |
1961 } else { |
1961 } else { |
1962 try { |
1962 try { |
1963 doit.doit(args); |
1963 doit.doit(args); |
1964 } catch (Exception e) { |
1964 } catch (Exception e) { |
1965 out.println("Error: " + e); |
1965 out.println("Error: " + e); |