IZ72933: TRAFFICCLASS SOCKET OPTION NOT SUPPORTED WITH IPV4 ON Z/OS JAVA
Closed as program error.
SDK for Java on z/OS improperly attempts to set the Traffic Class for an IPv4 socket when the java.net.Socket.setTrafficClass option is called. When attempting to set the TrafficClass option on an IPv4 socket, the following exception will occur: java.net.SocketException: EDC8109I Protocol not available. This option is supported in IPv6 but the underlying OS does not support it with IPv4. The JVM should ignore this option for IPv4 sockets on platforms where it is not supported as per the Java API. This APAR will resolve the failure when using setTrafficClass with an IPv4 socket. It will not enable Traffic Class support for IPv4 sockets. KEYWORDS setTrafficClass TrafficClass SocketException
None IPv6 sockets are not affected by this problem and support the use of the TrafficClass option.
In zOS, setTrafficClass option is not supported by the underlying OS for IPv4. No need to throw an error message while failing to set such an option as it is an expected behavior.
This defect will be fixed in: 5.0.0 SR11 FP2 . The JVM has been updated to ignore the error message 'Protocol not available' for setTrafficClass option for IPv4. . To obtain the fix: Install build 20100917 or later
Reported component name
JAVA 5 CLASS LI
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA 5 CLASS LI
Fixed component ID
Applicable component levels