changeset 53105:6ac04cfbefdf

8215954: [testbug] Remove unnecessary casts in test/hotspot/gtest/threadHelper.inline.hpp Reviewed-by: dcubed
author dholmes
date Fri, 28 Dec 2018 16:31:11 -0500
parents 95937fc2a05e
children 6c3407eee455
files test/hotspot/gtest/threadHelper.inline.hpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/gtest/threadHelper.inline.hpp	Fri Dec 21 14:42:08 2018 +0100
+++ b/test/hotspot/gtest/threadHelper.inline.hpp	Fri Dec 28 16:31:11 2018 -0500
@@ -51,7 +51,7 @@
   VMThreadBlocker() {}
   virtual ~VMThreadBlocker() {}
   const char* get_thread_name_string(char* buf, int buflen) const {
-    return (char*) "VMThreadBlocker";
+    return "VMThreadBlocker";
   }
   void run() {
     this->set_thread_state(_thread_in_vm);
@@ -95,7 +95,7 @@
   virtual ~JavaTestThread() {}
 
   const char* get_thread_name_string(char* buf, int buflen) const {
-    return (char*) "JavaTestThread";
+    return "JavaTestThread";
   }
 
   void pre_run() {