8194058: [TESTBUG] serviceability/sa/ClhsdbWhere.java fails to find method 'sleep' in output
authorsballal
Wed, 03 Jan 2018 11:14:04 +0530
changeset 48425 fcd1913b1d36
parent 48424 8749f0b3d227
child 48426 c08f1067ef57
8194058: [TESTBUG] serviceability/sa/ClhsdbWhere.java fails to find method 'sleep' in output Reviewed-by: dholmes, cjplummer
test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java
--- a/test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java	Wed Jan 03 10:55:35 2018 +0530
+++ b/test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java	Wed Jan 03 11:14:04 2018 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -60,7 +60,7 @@
                     "private static void processPendingReferences",
                     "private static native void waitForReferencePendingList",
                     "Java Stack Trace for main",
-                    "public static native void sleep"));
+                    "public static void main"));
 
             test.run(theApp.getPid(), cmds, expStrMap, null);
         } catch (Exception ex) {