8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp
Reviewed-by: dholmes, rehn
This commit is contained in:
parent
080739ce03
commit
90f957ddb1
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -280,7 +280,7 @@ template <> void DCmdArgument<MemorySizeArgument>::parse_value(const char* str,
|
|||||||
size_t len, TRAPS) {
|
size_t len, TRAPS) {
|
||||||
if (str == NULL) {
|
if (str == NULL) {
|
||||||
THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(),
|
THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(),
|
||||||
"Integer parsing error nanotime value: syntax error");
|
"Parsing error memory size value: syntax error, value is null");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*str == '-') {
|
if (*str == '-') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user