changeset 8577:69d1ffe46890

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:21 +0300
parents 5916110131c4
children ee8ce10986aa
files test/serviceability/sa/TestClassLoaderStats.java test/serviceability/sa/TestStackTrace.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/serviceability/sa/TestClassLoaderStats.java	Mon Jun 22 19:21:04 2015 -0400
+++ b/test/serviceability/sa/TestClassLoaderStats.java	Tue Jun 23 12:35:21 2015 +0300
@@ -68,7 +68,7 @@
             output.stderrShouldNotMatch("[E|e]xception");
             output.stderrShouldNotMatch("[E|e]rror");
         } finally {
-            app.stopApp();
+            LingeredApp.stopApp(app);
         }
     }
 
--- a/test/serviceability/sa/TestStackTrace.java	Mon Jun 22 19:21:04 2015 -0400
+++ b/test/serviceability/sa/TestStackTrace.java	Tue Jun 23 12:35:21 2015 +0300
@@ -66,7 +66,7 @@
             output.stderrShouldNotMatch("[E|e]xception");
             output.stderrShouldNotMatch("[E|e]rror");
         } finally {
-            app.stopApp();
+            LingeredApp.stopApp(app);
         }
      }