IBM Support

IV62978: JAVA.NET.INETADDRESS.GETALLBYNAME(STRING HOST) DOES NOT RETURN BOTH IPV4 AND IPV6 ADDDRESSES ON ZOS PLATFORM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When getAllByName(String host) is used in z/OS,
    only IPv6 addresses are returned. The expected behavior is to
    return all addresses (IPv4 and IPv6) with the addresses listed
    in the appropriate order based on java.net.preferIPv6Addresses.
    When it is false (the default), the IPv4 Addresses should be
    listed first. Otherwise the IPv6 Addresses should be listed
    first.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • The problem is specific to z/OS as the corresponding system call
    for getAllByName() return both IPv4 and IPv6 addresses only
    when specific flags are set.
    

Problem conclusion

  • The JDK has been updated to set the proper flags for the system
    call to return both IPv4 and IPv6 addresses.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP2  (6.0.16.2)
       7 R1 SR2       (7.1.2.0)
       6 R1 SR8 FP2   (6.1.8.2)
       7    SR8       (7.0.8.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV62978

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-25

  • Closed date

    2014-09-30

  • Last modified date

    2014-10-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 October 2014