8081576: serviceability/sa tests fail due to LingeredApp process fails to start
authordsamersoff
Tue, 23 Jun 2015 12:35:21 +0300
changeset 31379 8ece48927ac0
parent 31377 229b4eb67c2b
child 31380 b2b399eeb3b1
8081576: serviceability/sa tests fail due to LingeredApp process fails to start Summary: Provide a API to corrctly terminate LingeredApp Reviewed-by: sspitsyn
hotspot/test/serviceability/sa/TestClassLoaderStats.java
hotspot/test/serviceability/sa/TestStackTrace.java
--- a/hotspot/test/serviceability/sa/TestClassLoaderStats.java	Mon Jun 22 19:21:04 2015 -0400
+++ b/hotspot/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/hotspot/test/serviceability/sa/TestStackTrace.java	Mon Jun 22 19:21:04 2015 -0400
+++ b/hotspot/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);
         }
      }