-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b55
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018911 | 7u45 | Sergey Malenkov | P3 | Closed | Fixed | b01 |
JDK-2228664 | 7u40 | Sergey Malenkov | P3 | Closed | Fixed | b06 |
This is a SUNBUG for https://bugs.openjdk.java.net/show_bug.cgi?id=100182
Description
Created an attachment (id=216) [details]
BaseBean.java
Given the attached source code, running IntrospectorTest against a jvm other
then openjdk will print the following
class
public final native java.lang.Class java.lang.Object.getClass()
null
myBaseType
public java.lang.Object MyBean.getMyBaseType()
public void BaseBean.setMyBaseType(java.lang.Object)
IF you run it with openjdk you'll miss the setter
class
public final native java.lang.Class java.lang.Object.getClass()
null
myBaseType
public java.lang.String MyBean.getMyBaseType()
null
I've tested it using latest jdk versions 6 from ibm, jrockit and sun
The affected java version is
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Comment #1
Created an attachment (id=217) [details]
MyBean.java
Comment #2
Created an attachment (id=218) [details]
IntrospectorTest.java
Description
Created an attachment (id=216) [details]
BaseBean.java
Given the attached source code, running IntrospectorTest against a jvm other
then openjdk will print the following
class
public final native java.lang.Class java.lang.Object.getClass()
null
myBaseType
public java.lang.Object MyBean.getMyBaseType()
public void BaseBean.setMyBaseType(java.lang.Object)
IF you run it with openjdk you'll miss the setter
class
public final native java.lang.Class java.lang.Object.getClass()
null
myBaseType
public java.lang.String MyBean.getMyBaseType()
null
I've tested it using latest jdk versions 6 from ibm, jrockit and sun
The affected java version is
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
Comment #1
Created an attachment (id=217) [details]
MyBean.java
Comment #2
Created an attachment (id=218) [details]
IntrospectorTest.java
- backported by
-
JDK-2228664 java.beans.Introspector misses write methods
-
- Closed
-
-
JDK-8018911 java.beans.Introspector misses write methods
-
- Closed
-
- relates to
-
JDK-7186794 Setter not found. PropertyDescriptor(PropertyDescriptor,PropertyDescriptor)
-
- Resolved
-
-
JDK-8027648 Type of overridden property is resolved incorrectly
-
- Resolved
-