Make code friendlier to jdk 1.4 compiler.
This commit is contained in:
@@ -109,7 +109,7 @@ public class StandardLuaJVM {
|
|||||||
!suspendOnStartStr.equalsIgnoreCase("false")) {
|
!suspendOnStartStr.equalsIgnoreCase("false")) {
|
||||||
throw new ParseException("invalid debug flag: suspendOnStart");
|
throw new ParseException("invalid debug flag: suspendOnStart");
|
||||||
}
|
}
|
||||||
this.bSuspendOnStart = Boolean.parseBoolean(suspendOnStartStr);
|
this.bSuspendOnStart = "true".equals(suspendOnStartStr);
|
||||||
System.setProperty(Platform.PROPERTY_LUAJ_DEBUG_SUSPEND_AT_START, suspendOnStartStr);
|
System.setProperty(Platform.PROPERTY_LUAJ_DEBUG_SUSPEND_AT_START, suspendOnStartStr);
|
||||||
} else {
|
} else {
|
||||||
throw new ParseException("Invalid command line argument: " + debugOptions);
|
throw new ParseException("Invalid command line argument: " + debugOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user