changeset 12596:f38cfd21a95a

8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message Summary: Restore lost line from JDK-8061999. Reviewed-by: hseigel, mchung, dholmes
author dcubed
date Thu, 19 Jan 2017 18:16:20 -0800
parents fde92370dce4
children 2754f53df69b
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Thu Jan 19 18:52:16 2017 -0500
+++ b/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);