mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8374711: Hotspot runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails without printing the option name
Reviewed-by: mdoerr, dholmes
This commit is contained in:
parent
c5159fc9fa
commit
78b1ca6cc1
@ -116,7 +116,7 @@ public abstract class JVMOption {
|
||||
default:
|
||||
throw new Error("Expected only \"int\", \"intx\", \"size_t\", "
|
||||
+ "\"uint\", \"uintx\", \"uint64_t\", or \"double\" "
|
||||
+ "option types! Got " + type + " type!");
|
||||
+ "option types! Got " + type + " type for option " + name + "!");
|
||||
}
|
||||
|
||||
return parameter;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user