--- a/jdk/test/tools/launcher/Settings.java Wed Dec 22 23:12:17 2010 -0800
+++ b/jdk/test/tools/launcher/Settings.java Thu Dec 23 13:51:30 2010 -0800
@@ -74,8 +74,15 @@
static void runTestOptionDefault() throws IOException {
TestHelper.TestResult tr = null;
- tr = TestHelper.doExec(TestHelper.javaCmd, "-Xmx512m", "-Xss128k",
- "-XshowSettings", "-jar", testJar.getAbsolutePath());
+ tr = TestHelper.doExec(TestHelper.javaCmd, "-Xms64m", "-Xmx512m",
+ "-Xss128k", "-XshowSettings", "-jar", testJar.getAbsolutePath());
+ containsAllOptions(tr);
+ if (!tr.isOK()) {
+ System.out.println(tr.status);
+ throw new RuntimeException("test fails");
+ }
+ tr = TestHelper.doExec(TestHelper.javaCmd, "-Xms65536k", "-Xmx712m",
+ "-Xss122880", "-XshowSettings", "-jar", testJar.getAbsolutePath());
containsAllOptions(tr);
if (!tr.isOK()) {
System.out.println(tr.status);