langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/RemoteExecutionControl.java
changeset 45044 7c50549b7744
parent 43770 a321bed02000
equal deleted inserted replaced
45043:12f05bc91ecd 45044:7c50549b7744
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    94      * Create an instance using the default class loading.
    94      * Create an instance using the default class loading.
    95      */
    95      */
    96     public RemoteExecutionControl() {
    96     public RemoteExecutionControl() {
    97     }
    97     }
    98 
    98 
       
    99     /**
       
   100      * Redefine processing on the remote end is only to register the redefined classes
       
   101      */
       
   102     @Override
       
   103     public void redefine(ClassBytecodes[] cbcs)
       
   104             throws ClassInstallException, NotImplementedException, EngineTerminationException {
       
   105         classesRedefined(cbcs);
       
   106     }
       
   107 
    99     @Override
   108     @Override
   100     public void stop() throws EngineTerminationException, InternalException {
   109     public void stop() throws EngineTerminationException, InternalException {
   101         // handled by JDI
   110         // handled by JDI
   102     }
   111     }
   103 
   112