Skip to content
Permalink
Browse files
8274265: Suspicious string concatenation in logTestUtils.inline.hpp
Backport-of: c57a6c62baecde0bc10bfca89e0616b0c1fbb714
  • Loading branch information
MBaesken committed Dec 1, 2021
1 parent 35964ca commit a0c349bdf2245fb94bb8172bce2d8f25a7cea26b
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/hotspot/gtest/logging/logTestUtils.inline.hpp
  2. +1 −1 test/hotspot/gtest/logging/test_logFileOutput.cpp
@@ -31,7 +31,7 @@
#define LOG_TEST_STRING_LITERAL "a (hopefully) unique log message for testing"

static const char* invalid_selection_substr[] = {
"=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",," ",+",
"=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",,", ",+",
" *", "all+", "all*", "+all", "+all=Warning", "==Info", "=InfoWarning",
"BadTag+", "logging++", "logging*+", ",=", "gc+gc+"
};
@@ -79,7 +79,7 @@ TEST_VM(LogFileOutput, parse_invalid) {
"filecount= 2", "filesize=2 ",
"filecount=ab", "filesize=0xz",
"filecount=1MB", "filesize=99bytes",
"filesize=9999999999999999999999999"
"filesize=9999999999999999999999999",
"filecount=9999999999999999999999999"
};

1 comment on commit a0c349b

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on a0c349b Dec 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.