8081576: serviceability/sa tests fail due to LingeredApp process fails to start
authordsamersoff
Tue, 23 Jun 2015 12:35:39 +0300
changeset 31460 c92a5c5863fc
parent 31459 ce31ebbfa204
child 31461 db3f5d4f5245
8081576: serviceability/sa tests fail due to LingeredApp process fails to start Summary: Provide a API to corrctly terminate LingeredApp Reviewed-by: sspitsyn
jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java
--- a/jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java	Mon Jun 22 12:13:56 2015 +0200
+++ b/jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java	Tue Jun 23 12:35:39 2015 +0300
@@ -123,7 +123,7 @@
 
                 return toolProcess.exitValue();
             } finally {
-                theApp.stopApp();
+                LingeredApp.stopApp(theApp);
             }
         } catch (IOException | InterruptedException ex) {
             throw new RuntimeException("Test ERROR " + ex, ex);