< prev index next >
src/java.base/share/classes/sun/security/ssl/BaseSSLSocketImpl.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 24,51 ****
*/
package sun.security.ssl;
import java.io.*;
- import java.nio.channels.SocketChannel;
import java.net.*;
import java.util.Set;
-
import javax.net.ssl.*;
/**
! * Abstract base class for SSLSocketImpl. Its purpose is to house code with
! * no SSL related logic (or no logic at all). This makes SSLSocketImpl shorter
! * and easier to read. It contains a few constants and static methods plus
! * overridden java.net.Socket methods.
*
* Methods are defined final to ensure that they are not accidentally
* overridden in SSLSocketImpl.
*
* @see javax.net.ssl.SSLSocket
* @see SSLSocketImpl
- *
*/
abstract class BaseSSLSocketImpl extends SSLSocket {
/*
* Normally "self" is "this" ... but not when this connection is
--- 24,50 ----
*/
package sun.security.ssl;
import java.io.*;
import java.net.*;
+ import java.nio.channels.SocketChannel;
import java.util.Set;
import javax.net.ssl.*;
/**
! * Abstract base class for SSLSocketImpl.
! *
! * Its purpose is to house code with no SSL related logic (or no logic at all).
! * This makes SSLSocketImpl shorter and easier to read. It contains a few
! * constants and static methods plus overridden java.net.Socket methods.
*
* Methods are defined final to ensure that they are not accidentally
* overridden in SSLSocketImpl.
*
* @see javax.net.ssl.SSLSocket
* @see SSLSocketImpl
*/
abstract class BaseSSLSocketImpl extends SSLSocket {
/*
* Normally "self" is "this" ... but not when this connection is
*** 90,100 ****
*/
private static final String PROP_NAME =
"com.sun.net.ssl.requireCloseNotify";
static final boolean requireCloseNotify =
! Debug.getBooleanProperty(PROP_NAME, false);
//
// MISC SOCKET METHODS
//
--- 89,99 ----
*/
private static final String PROP_NAME =
"com.sun.net.ssl.requireCloseNotify";
static final boolean requireCloseNotify =
! Utilities.getBooleanProperty(PROP_NAME, false);
//
// MISC SOCKET METHODS
//
< prev index next >