test/jdk/java/security/testlibrary/Proc.java
changeset 49682 2918e1146106
parent 47227 8052fa06e1b7
child 58612 32aff2b7585b
--- a/test/jdk/java/security/testlibrary/Proc.java	Fri Apr 13 03:05:19 2018 +0200
+++ b/test/jdk/java/security/testlibrary/Proc.java	Fri Apr 13 15:29:33 2018 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018, 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
@@ -297,6 +297,9 @@
         }
         if (debug != null) {
             System.out.println("PROC: " + debug + " cmdline: " + cmd);
+            for (String e : env.keySet()) {
+                System.out.print(e + "=" + env.get(e) + " ");
+            }
             for (String c : cmd) {
                 if (c.indexOf('\\') >= 0 || c.indexOf(' ') > 0) {
                     System.out.print('\'' + c + '\'');