8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp
authorddmitriev
Fri, 24 Jun 2016 12:08:32 +0300
changeset 39413 47b4126187e1
parent 39412 1d5ad28744ca
child 39415 d57dd41d9d20
8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp Reviewed-by: dholmes, rehn
hotspot/src/share/vm/services/diagnosticArgument.cpp
--- 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 == '-') {