Fixes are available
APAR status
Closed as program error.
Error description
Environment: - Operating System: Microsoft Windows XP SP2 - Product name: IBM JDK 1.6.0 SR3 shipped with Rational Software Architect for WebSphere Software 7.5.2 Description of problem: Using the reference equality check (== or !=) on the matching propertydescriptor objects in lists l1 and l2, a 1.5 JRE shows only a couple of that as not identical. However, the exact same application run on a 1.6 JRE will show that none of the objects are the same. It looks like the IBM 1.6 JRE is implemented differently than the 1.5 JRE for this API. Step to reproduce: The following Java code mock-up will show a difference between the IBM JDK: Class thisClass = JPanel.class; Class superClass = thisClass.getSuperclass(); BeanInfo thisClassBeanInfo = java.beans.Introspector.getBeanInfo(thisCl BeanInfo superClassBeanInfo = java.beans.Introspector.getBeanInfo(superC List l1 = thisClassBeanInfo.getPropertyDescriptors(); // convert the array List l2 = superClassBeanInfo.getPropertyDescriptors(); // convert the array // iterate over the lists and compare the propertydescriptors that match If you do a reference equality check (== or !=) on the matching propertydescriptor objects in lists l1 and l2 on a 1.5 JRE then there are only a couple that are not identical. However, the exact same application run on a 1.6 JRE will show that none of the objects are the same. It looks like the IBM 1.6 JRE is implemented differently than the 1.5 JRE for this API. Workaround: Overwrite in bean classes the property descriptors
Local fix
Problem summary
See Error Description
Problem conclusion
Fixed in Rational Software Architect for WebSphere Software V7.5.3. The JDK was updated to SR5 to correct this problem.
Temporary fix
Comments
APAR Information
APAR number
PK85590
Reported component name
RATL APP DEV WI
Reported component ID
5724J1901
Reported release
752
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-04-29
Closed date
2009-06-29
Last modified date
2009-06-29
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
R752 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":"7.5.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 June 2009