RFR 8245306 : Update sun.security.ssl.SSLLogger to use Immutable DateTimeFormatter

2020-07-20 Thread Rahul Yadav

Hello,

Request to have my fix reviewed for issue:

JDK-8245306 :  Update sun.security.ssl.SSLLogger to use Immutable 
DateTimeFormatter


This fix updates sun.security.ssl.SSLLogger to use immutable 
DateTimeFormatter in place of ThreadLocal,
this is an effort as part of Project Loom, to replace usages of 
ThreadLocal wherever feasible, to

improve virtual thread memory efficiency.

Issue:  https://bugs.openjdk.java.net/browse/JDK-8245306
webrev: http://cr.openjdk.java.net/~ryadav/webrev_8245306/index.html

- rahul


DTLS Support

2020-07-20 Thread Scott Palmer
When DTLS support was added in https://bugs.openjdk.java.net/browse/JDK-8043758 
 DTLS-SRTP and WebRTC were 
specifically mentioned in the motivation. However, DTLS- SRTP requires the 
‘use_srtp’ extension to be in the handshake. 
(https://tools.ietf.org/html/rfc5764#section-4.1 
)
It appears that extension is still not supported as of JDK 14.
Is support for “use_srtp” planned?
Is there any way to add extensions to the handshake from the application level? 
If not, are there any plans to add a mechanism that would allow such 
customization of the extensions used by the SSLEngine?


Scott