IBM Support

IZ83457: INTROSPECTOR FAILS TO FIND READ METHOD FOR A BOOLEAN PROPERTY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: For a boolean property with 2 getter methods in
    bean class as:
    (1)public boolean getBlankLine(int)
    (2)public boolean isBlankLine(int)
    IBMJDK takes method (2) as read method of this "brankLine"
    property.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • There are 2 defects for this reported problem.
    Case1: A bean class has a boolean property with 2 public get
    methods as isProperty(int) and getProperty(int). IBMJDK takes
    isProperty(int) as the read method of this "property" while
    SUNJDK takes getProperty(int).
    Case2: A bean class has a property with public methods as
    isProperty(int) and setProperty(int, Object). IBMJDK introspects
    them as read and write method of this "property" while SUNJDK
    only takes null read method and setProperty(int, Object) write
    method.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9
    .
    These incorrect behaviors are caused by
    java.beans.StandardBeanInfo which has been updated to prevent
    such difference to happen.
    .
    To obtain the fix:
    Install build 20100831 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ83457

  • 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

    2010-08-26

  • Closed date

    2010-08-31

  • Last modified date

    2010-08-31

  • 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 PSN

       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:
31 August 2010