IBM Support

IV45202: BEHAVIORAL CHANGE TO JAVA.UTIL.LOGGING.LOGGER WHICH MAY AFFECT APPLICATIONS THAT DEPEND ON THE STACK-WALK FOR LOCATING RESOURCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Example exception:
    Caused by: java.util.MissingResourceException: Can't find
    commonarchive bundle
            at
    java.util.logging.Logger.setupResourceInfo(Logger.java:1676)
            at java.util.logging.Logger.getLogger(Logger.java:442)
    .
    Stack Trace: N/A
    .
    

Local fix

  • -Djdk.logging.allowStackWalkSearch=true property will revert the
    new behavior change.
    

Problem summary

  • Behavioral change to java.util.logging.Logger which may affect
    applications that depend on the stack-walk for locating resource
    bundles
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR5
    
    .
    To tighten up the detection of caller-sensitive methods
    annotation @sun.reflect.CallerSensitive introduced.
    As part of this change sun.reflect.Reflection.getCallerClass(int
    depth) method is repalced with with a new getCallerClass() that
    hard-codes the depth to 2.
    As a result of this, java.util.logging.Logger implementation
    revised not do the stack-walk to search for resource bundles but
    instead using the caller's class loader to lookup the resource
    bundle.
    This behavioral change might affect existing applications that
    depend on the stack-walk for locating resource bundles.
    New property -Djdk.logging.allowStackWalkSearch=true introduced
    to revert the new behavior change.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV45202

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-04

  • Closed date

    2013-07-04

  • Last modified date

    2014-05-29

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

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

    IV45203

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022