hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/CommandProcessor.java
changeset 42543 9e7ac7aff2d1
parent 38722 44a8f6937d89
child 46729 c62d2e8b2728
equal deleted inserted replaced
42542:e8d67bf2f2de 42543:9e7ac7aff2d1
  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);