jdk/src/jdk.attach/share/classes/sun/tools/attach/HotSpotVirtualMachine.java
changeset 38360 fb63be22ffa6
parent 26460 68a3e0abedfd
child 40685 e6f3a9fff607
equal deleted inserted replaced
38359:fd9b36598481 38360:fb63be22ffa6
   256         throws AgentLoadException, IOException;
   256         throws AgentLoadException, IOException;
   257 
   257 
   258     /*
   258     /*
   259      * Convenience method for simple commands
   259      * Convenience method for simple commands
   260      */
   260      */
   261     private InputStream executeCommand(String cmd, Object ... args) throws IOException {
   261     public InputStream executeCommand(String cmd, Object ... args) throws IOException {
   262         try {
   262         try {
   263             return execute(cmd, args);
   263             return execute(cmd, args);
   264         } catch (AgentLoadException x) {
   264         } catch (AgentLoadException x) {
   265             throw new InternalError("Should not get here", x);
   265             throw new InternalError("Should not get here", x);
   266         }
   266         }