fix start-up loop
remove thread.sleep with proper methods disable logging (seems to be broken on JDK 1.6.0_18 or higher) some code cleanup add debugging instructions for Eclipse
This commit is contained in:
@@ -454,7 +454,7 @@ public abstract class JLineShell extends AbstractShell implements CommandMarker,
|
||||
String line;
|
||||
|
||||
try {
|
||||
while (exitShellRequest == null && ((line = reader.readLine()) != null)) {
|
||||
while (exitShellRequest == null && (reader != null && ((line = reader.readLine()) != null))) {
|
||||
JLineLogHandler.resetMessageTracking();
|
||||
setShellStatus(Status.USER_INPUT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user