changeset 12290:296c6eee7830

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 515aada65cf2
children a924ccc779fe
files test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/tools/jmap/heapconfig/TmtoolTestScenario.java	Mon Jun 22 12:13:56 2015 +0200
+++ b/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);