8154454: Fix compilation issue in PlainSocketImpl
Reviewed-by: chegar
This commit is contained in:
parent
630e47238e
commit
194be0cffa
@ -80,7 +80,7 @@ class PlainSocketImpl extends AbstractPlainSocketImpl
|
||||
* Constructs an instance with the given file descriptor.
|
||||
*/
|
||||
PlainSocketImpl(FileDescriptor fd) {
|
||||
if (useDualStackImpl) {
|
||||
if (!preferIPv4Stack) {
|
||||
impl = new DualStackPlainSocketImpl(fd, exclusiveBind);
|
||||
} else {
|
||||
impl = new TwoStacksPlainSocketImpl(fd, exclusiveBind);
|
||||
|
Loading…
Reference in New Issue
Block a user