equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
85 System.err.println("pkcs11keystore"); |
85 System.err.println("pkcs11keystore"); |
86 System.err.println(" PKCS11 KeyStore debugging"); |
86 System.err.println(" PKCS11 KeyStore debugging"); |
87 System.err.println("pkcs12 PKCS12 KeyStore debugging"); |
87 System.err.println("pkcs12 PKCS12 KeyStore debugging"); |
88 System.err.println("sunpkcs11 SunPKCS11 provider debugging"); |
88 System.err.println("sunpkcs11 SunPKCS11 provider debugging"); |
89 System.err.println("scl permissions SecureClassLoader assigns"); |
89 System.err.println("scl permissions SecureClassLoader assigns"); |
|
90 System.err.println("securerandom SecureRandom"); |
90 System.err.println("ts timestamping"); |
91 System.err.println("ts timestamping"); |
91 System.err.println(); |
92 System.err.println(); |
92 System.err.println("The following can be used with access:"); |
93 System.err.println("The following can be used with access:"); |
93 System.err.println(); |
94 System.err.println(); |
94 System.err.println("stack include stack trace"); |
95 System.err.println("stack include stack trace"); |
170 */ |
171 */ |
171 |
172 |
172 public void println(String message) |
173 public void println(String message) |
173 { |
174 { |
174 System.err.println(prefix + ": "+message); |
175 System.err.println(prefix + ": "+message); |
|
176 } |
|
177 |
|
178 /** |
|
179 * print a message to stderr that is prefixed with the prefix |
|
180 * created from the call to getInstance and obj. |
|
181 */ |
|
182 public void println(Object obj, String message) |
|
183 { |
|
184 System.err.println(prefix + " [" + obj.getClass().getSimpleName() + |
|
185 "@" + System.identityHashCode(obj) + "]: "+message); |
175 } |
186 } |
176 |
187 |
177 /** |
188 /** |
178 * print a blank line to stderr that is prefixed with the prefix. |
189 * print a blank line to stderr that is prefixed with the prefix. |
179 */ |
190 */ |