< prev index next >
test/jdk/sun/security/ssl/SSLSocketImpl/NewSocketMethods.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2001, 2019, 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.
--- 1,7 ----
/*
! * Copyright (c) 2001, 2020, 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.
*** 201,216 ****
+ socket.isInputShutdown());
socket.setReuseAddress(true);
System.out.println("Client getReuseAddress(): "
+ socket.getReuseAddress());
- // Solaris does not support set/get of IPV6_TCLASS when connected
- if (!"SunOS".equals(System.getProperty("os.name"))) {
socket.setTrafficClass(8);
System.out.println("Client getTrafficClass(): "
+ socket.getTrafficClass());
- }
os.write(237);
os.flush();
System.out.println("Client read: " + is.read());
socket.close();
--- 201,213 ----
< prev index next >