IBM Support

PM56772: Adding the JUnit 3 library to the build path may result in JUnit 4 being used instead

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to add the JUnit 3 library to the Java build path in
    Rational Application Developer 8.0.3 results in JUnit 4 being
    used instead.
    
    Problem:
    
    If you add JUnit 3 support to a project in Rational Application
    Developer 8.0.3 then you will see in the Project Explorer view
    that JUnit 4 is being used.
    
    
    Local fix:
    A restart of the product will result in the correct library
    being used.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A custom classpath container initializer was introduced for
    the Rational Build Utility product in order to force always
    using a JUnit4 library in a headless environment(also in
    cases when JUnit3 tests are required to be launched). This
    custom initializer code is also affecting the Rational
    Application Developer JUnit V3 functionality.
    

Problem conclusion

  • The custom classpath container initializer code has been
    moved out of Rational Application Developer in order to
    prevent this problem from happening. The code has been moved
    into a separate plugin for exclusive usage of the Rational
    Build Utility product. The fix for this APAR is included in
    Rational Application Developer v8.0.4.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM56772

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-26

  • Closed date

    2012-05-15

  • Last modified date

    2012-05-15

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R803 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 May 2012