IBM Support

IV75089: JDEPS -JDKINTERNALS MARKS EVERYTHING AS INTERNAL API

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When running
    jdeps -jdkinternals test.jar
    It flags every package as a JDK internal API when going through
    each class in the jar file.
          -> java.lang.Object                                   JDK
    internal API (vm.jar)
          -> java.lang.String                                   JDK
    internal API (vm.jar)
          -> java.lang.StringBuilder                            JDK
    internal API (vm.jar)
          -> java.lang.System                                   JDK
    internal API (vm.jar)
          -> java.lang.Thread                                   JDK
    internal API (vm.jar)
    But these API's are public classes. Jdeps tool needs to be
    corrected to get proper results.
    .
    Stack Trace: N/A
    .
    

Local fix

  • User defined profiles.properties file should set as
    jdeps.profiles property as stated below:
    
     jdeps -J-Djdeps.profiles=<path-to>/profiles.properties
    -jdkinternals tests.jar
    

Problem summary

  • jdeps -jdkinternals marks everything as internal API
    

Problem conclusion

  • Bundled profiles.properties file as part of tools.jar so that it
    gets loaded when using jdeps tool to avoid every public API to
    be reported as JDK internal API.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR1 FP10  (8.0.1.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV75089

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-14

  • Closed date

    2015-07-14

  • Last modified date

    2015-07-14

  • 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

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022