# HG changeset patch # User ctornqvi # Date 1436971057 14400 # Wed Jul 15 10:37:37 2015 -0400 # Node ID fffcb192792cdc64c3a889858502954592c0344a # Parent 57bdf5c8e371b32876df5e459f3c920f8187c412 imported patch 8080733 diff --git a/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java b/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java --- a/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java +++ b/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java @@ -46,16 +46,8 @@ runTest("-XX:-CreateCoredumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped"); if (Platform.isWindows()) { - runTest("-XX:+CreateCoredumpOnCrash").shouldContain("Core dump will be written. Default location"); - // The old CreateMinidumpOnCrash option should still work - runTest("-XX:+CreateMinidumpOnCrash").shouldContain("Core dump will be written. Default location"); runTest("-XX:-CreateMinidumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped"); - - if (Platform.isDebugBuild()) { - // Make sure we create dumps on Windows debug builds by default - runTest("-Ddummyopt=false").shouldContain("Core dump will be written. Default location"); - } } else { runTest("-XX:+CreateCoredumpOnCrash").shouldNotContain("CreateCoredumpOnCrash turned off, no core file dumped"); } diff --git a/test/runtime/ErrorHandling/TestOnError.java b/test/runtime/ErrorHandling/TestOnError.java --- a/test/runtime/ErrorHandling/TestOnError.java +++ b/test/runtime/ErrorHandling/TestOnError.java @@ -45,6 +45,7 @@ // Execute the VM so that a ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:-TransmitErrorReport", + "-XX:-CreateCoredumpOnCrash", "-XX:ErrorHandlerTest=12", // trigger potential SEGV "-XX:OnError=echo " + msg, TestOnError.class.getName());