changeset 48516:fcd1913b1d36

8194058: [TESTBUG] serviceability/sa/ClhsdbWhere.java fails to find method 'sleep' in output Reviewed-by: dholmes, cjplummer
author sballal
date Wed, 03 Jan 2018 11:14:04 +0530
parents 8749f0b3d227
children c08f1067ef57
files test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) {