Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Debian Linux 32
Description
In some tricky situations java.beans.Introspector is unable to determine bean's set method correctly. Please see the test case below.
IntrospectorTest.java
—
import java.beans.*;
import java.io.*;
public class IntrospectorTest {
public static void main(String argv[]) throws Exception {
BeanInfo bInfo = Introspector.getBeanInfo(TstBean.class);
int n = 0;
for (PropertyDescriptor desc: bInfo.getPropertyDescriptors())
{ System.out.println(" " + desc.getName() + " " + desc.getReadMethod() + " " + desc.getWriteMethod()); n++; }System.out.println("TOTAL: " + n + " properties");
}
}
class TstBean {
public void setProp1(String uri)
{
}
public void setProp1(Integer i)
{
}
public Integer getProp1()
{ return null; }}
This issue prevents Confluence from loading successfully on Harmony.
Attachments
Attachments
Issue Links
- is blocked by
-
HARMONY-5707 [classlib][beans] dead loop in Encoder
- Closed