Push request: 7065972, Some race condition may happen in SSLSocketImpl class

Xuelei Fan xuelei.fan at oracle.com
Tue Aug 9 20:00:05 PDT 2011


Hi All

This is a request to backport a jdk8 fix into jdk7u2 b02.

CR: 7065972: Some race condition may happen in SSLSocketImpl class
Weblink: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7065972


Description:

Initially, the TLS handshake listeners are supposed to be immutable.
However, the deploy code need to update the TLS handshake listener
collection since CR 6357710. As requires the multiple-thread-safe access
to TLS handshake listener collection.

The fix is already included in jdk8 as:

    Changeset: 99dc852080e1
    Author:    xuelei
    Date:      2011-07-19 21:47 -0700
    URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/99dc852080e1

    7065972: Some race condition may happen in SSLSocketImpl class
    Reviewed-by: wetmore, weijun, dgu

    ! src/share/classes/sun/security/ssl/SSLSocketImpl.java

The patch for jdk7u2 is identical to the one in jdk8.

The webrev for JDK 7u2 is here:
http://javaweb.us.oracle.com/~xf138604/bugbios/7065972.jdk7u/webrev.00/

I intend to push it to

    ssh://hg.openjdk.java.net/jdk7u/jdk7u-dev-gate/jdk

Thanks
Xuelei



More information about the jdk7u-dev mailing list