RFR: 8348309: MultiNST tests need more debugging and timing

Anthony Scarpino ascarpino at openjdk.org
Tue Feb 18 19:48:00 UTC 2025


On Tue, 18 Feb 2025 19:42:25 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> test/jdk/javax/net/ssl/templates/TLSBase.java line 204:
>> 
>>> 202:                     write(sock, read(sock));
>>> 203:                 } catch (Exception e) {
>>> 204:                     System.err.println("Caught " + e.getMessage());
>> 
>> `e.printStackTrace()` will include the exception message. Do we need this line at all?
>
> true

Actually the line change may not be necessary.  It would be good for stdout to get the message, but the stacktrace to be left for err.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23407#discussion_r1960483461


More information about the security-dev mailing list