Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152933 | OpenJDK6 | Yuka Kamiya | P3 | Resolved | Fixed | b02 |
FULL PRODUCT VERSION :
1.6.0 online API docs
ADDITIONAL OS VERSION INFORMATION :
OS independent (API docs)
A DESCRIPTION OF THE PROBLEM :
The API docs for the AttributedString(AttributedCharacterIterator, int, int, Attribute[]) constructor state that a NullPointerException is thrown if 'text' or 'attributes' is null. In fact, null is a valid argument for 'attributes' as noted within the same API doc comments.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Here's the link:
http://download.java.net/jdk6/docs/api/java/text/AttributedString.html#AttributedString(java.text.AttributedCharacterIterator,%20int,%20int,%20java.text.AttributedCharacterIterator.Attribute[])
REPRODUCIBILITY :
This bug can be reproduced always.
1.6.0 online API docs
ADDITIONAL OS VERSION INFORMATION :
OS independent (API docs)
A DESCRIPTION OF THE PROBLEM :
The API docs for the AttributedString(AttributedCharacterIterator, int, int, Attribute[]) constructor state that a NullPointerException is thrown if 'text' or 'attributes' is null. In fact, null is a valid argument for 'attributes' as noted within the same API doc comments.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Here's the link:
http://download.java.net/jdk6/docs/api/java/text/AttributedString.html#AttributedString(java.text.AttributedCharacterIterator,%20int,%20int,%20java.text.AttributedCharacterIterator.Attribute[])
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-2152933 [AS] AttributedString constructor API doc error
- Resolved
- relates to
-
JDK-5100382 Doc: JCK: AttributedString spec should better describe null args
- Closed