8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message
authordcubed
Thu, 19 Jan 2017 18:16:20 -0800
changeset 43469 2048c42e2c88
parent 43468 edd7949f64cf
child 43470 39d4bc6c9989
8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message Summary: Restore lost line from JDK-8061999. Reviewed-by: hseigel, mchung, dholmes
hotspot/src/share/vm/runtime/arguments.cpp
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Jan 19 18:52:16 2017 -0500
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Thu Jan 19 18:16:20 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -3870,6 +3870,9 @@
     return JNI_ENOMEM;
   }
 
+  jio_fprintf(defaultStream::error_stream(),
+              "Picked up %s: %s\n", name, buffer);
+
   int retcode = parse_options_buffer(name, buffer, strlen(buffer), vm_args);
 
   os::free(buffer);