changeset 39413:47b4126187e1

8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp Reviewed-by: dholmes, rehn
author ddmitriev
date Fri, 24 Jun 2016 12:08:32 +0300
parents 1d5ad28744ca
children d57dd41d9d20
files hotspot/src/share/vm/services/diagnosticArgument.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 == '-') {