8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp
Reviewed-by: dholmes, rehn
--- a/hotspot/src/share/vm/services/diagnosticArgument.cpp Thu Jun 23 17:11:18 2016 -0700
+++ b/hotspot/src/share/vm/services/diagnosticArgument.cpp Fri Jun 24 12:08:32 2016 +0300
@@ -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 @@
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 == '-') {