changeset 31460:c92a5c5863fc

8081576: serviceability/sa tests fail due to LingeredApp process fails to start Summary: Provide a API to corrctly terminate LingeredApp Reviewed-by: sspitsyn
author dsamersoff
date Tue, 23 Jun 2015 12:35:39 +0300
parents ce31ebbfa204
children db3f5d4f5245
files jdk/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);