Skip to content

Commit 78b1ca6

Browse files
committed
8374711: Hotspot runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails without printing the option name
Reviewed-by: mdoerr, dholmes
1 parent c5159fc commit 78b1ca6

File tree

1 file changed

+1
-1
lines changed
  • test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/common/optionsvalidation

1 file changed

+1
-1
lines changed

test/hotspot/jtreg/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static JVMOption createVMOption(String type, String name) {
116116
default:
117117
throw new Error("Expected only \"int\", \"intx\", \"size_t\", "
118118
+ "\"uint\", \"uintx\", \"uint64_t\", or \"double\" "
119-
+ "option types! Got " + type + " type!");
119+
+ "option types! Got " + type + " type for option " + name + "!");
120120
}
121121

122122
return parameter;

0 commit comments

Comments
 (0)