JDK RFR of 8054720: Modifications of I/O methods for instrumentation purposes

Alan Bateman Alan.Bateman at oracle.com
Tue Aug 12 15:46:38 UTC 2014


On 11/08/2014 22:29, Brian Burkhalter wrote:
> On Aug 11, 2014, at 1:10 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
>> This looks okay except SSLSocketImpl#isLayered (not clear why the override is needed).
> This is needed as it may be required to instrument sun.security.ssl.SSLSocketImpl.closeSocket() in which the knowledge of whether the socket is layered has a bearing on the behavior.
So are you instrumenting isLayered in sub-class or just calling it? I 
ask because just calling it should work.

-Alan



More information about the core-libs-dev mailing list