diff --git a/tutorials/java/dist/phpdbg-ui.jar b/tutorials/java/dist/phpdbg-ui.jar index f11cf4aa37b..c6eb0fa3d21 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 b8f30c43009..8e811e9be94 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();