hg: jdk/sandbox: http-client-impl: use Reference.reachabilityFence to make clear the websokect BuilderImpl must stay strongly referenced until after the WebSocketImpl is created.

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Wed Nov 8 17:56:05 UTC 2017


Changeset: b3562d42f3b1
Author:    dfuchs
Date:      2017-11-08 17:14 +0000
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/b3562d42f3b1

http-client-impl: use Reference.reachabilityFence to make clear the websokect BuilderImpl must stay strongly referenced until after the WebSocketImpl is created.

! src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/websocket/WebSocketImpl.java



More information about the jdk-sandbox-changes mailing list