APAR status
Closed as program error.
Error description
Error Message: Given a simple test case <OSB>1<CSB>, IBMJDK outputs differently from RI. IBM finds more properties than RI IBM: accessibleContext alignmentX alignmentY background backgroundSet baselineResizeBehavior bounds class colorModel componentListeners componentOrientation cursor cursorSet displayable doubleBuffered dropTarget enabled focusCycleRootAncestor focusListeners focusOwner focusTraversable focusTraversalKeys focusTraversalKeysEnabled focusable font fontSet foreground foregroundSet graphics graphicsConfiguration height hierarchyBoundsListeners hierarchyListeners ignoreRepaint inputContext inputMethodListeners inputMethodRequests keyListeners lightweight locale location locationOnScreen maximumSize maximumSizeSet minimumSize minimumSizeSet mouseListeners mouseMotionListeners mousePosition mouseWheelListeners name opaque parent peer preferredSize preferredSizeSet propertyChangeListeners showing size toolkit treeLock valid visible width x y RI: background enabled focusable font foreground name visible <OSB>1<CSB> public static void main(String<OSB><CSB> args) throws Exception { BeanInfo beanInfo = Introspector.getBeanInfo(Component.class); for (PropertyDescriptor pd : beanInfo.getPropertyDescriptors()) { System.out.println(pd.getName()); } } . Stack Trace: N/A .
Local fix
Problem summary
This problem is caused when the method of getBeanDescritpor() of a explicit BeanInfo returns null, which causes Introspector fails to find properties correctly.
Problem conclusion
This defect will be fixed in: 6.0.0 SR9 . The java.beans.Introspector has been updated to prevent such a problem to happen. . To obtain the fix: Install build 20100817 or later
Temporary fix
Comments
APAR Information
APAR number
IZ81671
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-14
Closed date
2010-08-23
Last modified date
2010-08-23
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:
23 August 2010