http-client-branch: fix serializable fields in internal ALPNException http-client-branch
authorchegar
Mon, 05 Feb 2018 11:40:32 +0000
branchhttp-client-branch
changeset 56060 f09e8e9bbdd2
parent 56059 f5473559b6d3
child 56061 6d6290b1176f
http-client-branch: fix serializable fields in internal ALPNException
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/Http2Connection.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/Http2Connection.java	Mon Feb 05 11:36:11 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/Http2Connection.java	Mon Feb 05 11:40:32 2018 +0000
@@ -1271,8 +1271,8 @@
      * Thrown when https handshake negotiates http/1.1 alpn instead of h2
      */
     static final class ALPNException extends IOException {
-        private static final long serialVersionUID = 23138275393635783L;
-        final AbstractAsyncSSLConnection connection;
+        private static final long serialVersionUID = 0L;
+        final transient AbstractAsyncSSLConnection connection;
 
         ALPNException(String msg, AbstractAsyncSSLConnection connection) {
             super(msg);