PacketProcessor.java (run): Send shutdown to jdwp instead of connection.

* gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
        shutdown to jdwp instead of connection.

From-SVN: r101936
This commit is contained in:
Aaron Luchko 2005-07-12 19:29:37 +00:00 committed by Aaron Luchko
parent 87bd8b7067
commit 04be5ce5ec
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-07-12 Aaron Luchko <aluchko@redhat.com>
* gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
shutdown to jdwp instead of connection.
2005-07-12 Aaron Luchko <aluchko@redhat.com> 2005-07-12 Aaron Luchko <aluchko@redhat.com>
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java: * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:

View File

@ -40,6 +40,7 @@ exception statement from your version. */
package gnu.classpath.jdwp.processor; package gnu.classpath.jdwp.processor;
import gnu.classpath.jdwp.Jdwp;
import gnu.classpath.jdwp.JdwpConstants; import gnu.classpath.jdwp.JdwpConstants;
import gnu.classpath.jdwp.exception.JdwpException; import gnu.classpath.jdwp.exception.JdwpException;
import gnu.classpath.jdwp.transport.JdwpCommandPacket; import gnu.classpath.jdwp.transport.JdwpCommandPacket;
@ -146,8 +147,8 @@ public class PacketProcessor
{ {
ex.printStackTrace(); ex.printStackTrace();
} }
// Time to shutdown, tell the _connection thread to stop reading // Time to shutdown, tell Jdwp to shutdown
_connection.shutdown(); Jdwp.getDefault().shutdown();
} }
/** /**