8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp

Reviewed-by: dholmes, rehn
This commit is contained in:
Dmitry Dmitriev 2016-06-24 12:08:32 +03:00
parent 080739ce03
commit 90f957ddb1

View File

@ -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.
*
* 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) {
if (str == NULL) {
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 == '-') {