From 6c4ec86cea5b9e9c6c5b2bf94ba6bfa7b22fc3fb Mon Sep 17 00:00:00 2001 From: David Holmes Date: Fri, 28 Dec 2018 16:31:11 -0500 Subject: [PATCH] 8215954: [testbug] Remove unnecessary casts in test/hotspot/gtest/threadHelper.inline.hpp Reviewed-by: dcubed --- test/hotspot/gtest/threadHelper.inline.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hotspot/gtest/threadHelper.inline.hpp b/test/hotspot/gtest/threadHelper.inline.hpp index 9f331cf46df..55bfe6c598f 100644 --- a/test/hotspot/gtest/threadHelper.inline.hpp +++ b/test/hotspot/gtest/threadHelper.inline.hpp @@ -51,7 +51,7 @@ public: 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 @@ public: virtual ~JavaTestThread() {} const char* get_thread_name_string(char* buf, int buflen) const { - return (char*) "JavaTestThread"; + return "JavaTestThread"; } void pre_run() {