From c55d90aeef82edbf183c24826acb53ce09301c9f Mon Sep 17 00:00:00 2001 From: Dmitry Samersoff Date: Tue, 23 Jun 2015 12:35:39 +0300 Subject: [PATCH] 8081576: serviceability/sa tests fail due to LingeredApp process fails to start Provide a API to corrctly terminate LingeredApp Reviewed-by: sspitsyn --- jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java b/jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java index 3deacac2f7f..4558f3e346b 100644 --- a/jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java +++ b/jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java @@ -123,7 +123,7 @@ public class TmtoolTestScenario { return toolProcess.exitValue(); } finally { - theApp.stopApp(); + LingeredApp.stopApp(theApp); } } catch (IOException | InterruptedException ex) { throw new RuntimeException("Test ERROR " + ex, ex);