Make code friendlier to jdk 1.4 compiler.

This commit is contained in:
James Roseborough
2008-04-22 17:34:54 +00:00
parent 7ecd04a652
commit 06e4efd93c

View File

@@ -109,7 +109,7 @@ public class StandardLuaJVM {
!suspendOnStartStr.equalsIgnoreCase("false")) {
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);
} else {
throw new ParseException("Invalid command line argument: " + debugOptions);