-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b78
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136090 | emb-9 | Sergey Bylokhov | P2 | Resolved | Fixed | team |
The spec for java.beans.BeanProperty.(expert, required, visual update):
http://download.java.net/jdk9/docs/api/java/beans/BeanProperty.html
asserts that:
expert():
"Returns:true if the annotated property is an expert property; false otherwise."
required():
"Returns:true if the annotated property is a required property; false otherwise."
visualUpdate():
"Returns: true if the corresponding component is repainted; false otherwise."
but they returns null instead of boolean value. Please see the details in the attached Test.java
Due to this issue the following JCK tests fail:
api/java_beans/BeanProperty/index.html#BeanProperty[test_expertFalse]
api/java_beans/BeanProperty/index.html#BeanProperty[test_requiredFalse]
api/java_beans/BeanProperty/index.html#BeanProperty[test_requiredTrue]
api/java_beans/BeanProperty/index.html#BeanProperty[test_visualUpdateFalse]
http://download.java.net/jdk9/docs/api/java/beans/BeanProperty.html
asserts that:
expert():
"Returns:true if the annotated property is an expert property; false otherwise."
required():
"Returns:true if the annotated property is a required property; false otherwise."
visualUpdate():
"Returns: true if the corresponding component is repainted; false otherwise."
but they returns null instead of boolean value. Please see the details in the attached Test.java
Due to this issue the following JCK tests fail:
api/java_beans/BeanProperty/index.html#BeanProperty[test_expertFalse]
api/java_beans/BeanProperty/index.html#BeanProperty[test_requiredFalse]
api/java_beans/BeanProperty/index.html#BeanProperty[test_requiredTrue]
api/java_beans/BeanProperty/index.html#BeanProperty[test_visualUpdateFalse]
- backported by
-
JDK-8136090 Several methods in BeanProperty return null instead of boolean value
-
- Resolved
-
- duplicates
-
JDK-8131939 @BeanProperty "required" info is lost; data duplication for "expert" and "hidden"
-
- Closed
-
- relates to
-
JDK-8131684 @SwingContainer: what is the correct result for getBeanDescriptor().getValue("isContainer") for an unannotated class?
-
- Open
-
-
JDK-8131347 new @BeanProperty annotation: inconsistent behavior for "enumerationValues"
-
- Resolved
-