From: krakjoe Date: Sat, 30 Nov 2013 00:44:34 +0000 (+0000) Subject: ... X-Git-Tag: php-5.6.0alpha1~110^2~30^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16edd155cbabe46f7083a449a6718cbb19873248;p=php ... --- diff --git a/tutorials/java/dist/phpdbg-ui.jar b/tutorials/java/dist/phpdbg-ui.jar index f11cf4aa37..c6eb0fa3d2 100644 Binary files a/tutorials/java/dist/phpdbg-ui.jar and b/tutorials/java/dist/phpdbg-ui.jar differ diff --git a/tutorials/java/src/phpdbg/ui/DebugSocket.java b/tutorials/java/src/phpdbg/ui/DebugSocket.java index b8f30c4300..8e811e9be9 100644 --- a/tutorials/java/src/phpdbg/ui/DebugSocket.java +++ b/tutorials/java/src/phpdbg/ui/DebugSocket.java @@ -74,12 +74,12 @@ public class DebugSocket implements Runnable { } if (reader) { - /* The reader thread part will wait() until there is input */ + /* The reader thread will wait() until there is input */ Socket socket = new Socket(this.host, this.port); + String command; + OutputStream output = socket.getOutputStream(); + do { - String command; - OutputStream output = socket.getOutputStream(); - synchronized(this) { wait();