IBM Support

PM09976: XSTARCOMPILER.SETCLASSNAME MODIFIES THE USER'S CLASS NAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • XStarCompiler.setClassName modifies the class name if it
    thinks it is not a valid Java class name (replaces invalid
    characters with '_').  But when loading it does not do the
    same thing, so when you pass in the original class name, no
    class will be found.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of the WebSphere Application Server   *
    *                  7.0 with Feature Pack for XML 1.0.0.3 or    *
    *                  earlier                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Class name for compiled artifacts may   *
    *                      be modified                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using an XCompilationFactory to compile XSLT, XPath, or
    XQuery into Java classes, the class name provided to the
    XCompilationParameters instance was scanned for characters
    which would be invalid for a Java class name.  These
    characters were replaced with '_' but when loading compiled
    artifacts, the same process was not supplied.  Thus, using the
    same class name provided in the XCompilationParameters
    instance originally could result in the class not being found.
     The Javadoc for XCompilationParameters requires that the
    supplied class name be a valid Java class name.
    

Problem conclusion

  • The provided class name is now used as-is, and is not modified
    when compiling or loading. You must ensure that the name
    provided is a valid Java class name.
    
    This APAR is currently targeted for inclusion in the Feature
    Pack for XML 1.0.0.5.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM09976

  • Reported component name

    XML FEATUREPACK

  • Reported component ID

    5724J0856

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-15

  • Closed date

    2010-03-19

  • Last modified date

    2010-03-19

  • 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

    XML FEATUREPACK

  • Fixed component ID

    5724J0856

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022