8194058: [TESTBUG] serviceability/sa/ClhsdbWhere.java fails to find method 'sleep' in output
Reviewed-by: dholmes, cjplummer
--- 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) {