Name: id146280 Date: 09/10/2004
Specification does not describe behavior if some arguments of some methods of
java.text.AttributedString are null, see detailed list below.
1.
Specification does not describe behaviour of the following constructors in
case of argument text being null
AttributedString(String text)
AttributedString(AttributedCharacterIterator text)
AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
2.
Specification does not describe behaviour of the following constructor in
case of argument text being null and in case of argument attributes being
null.
AttributedString(String text, Map attributes)
3.
Specification does not describe behaviour of the following methods in case of
argument attribute being null.
void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)
4.
Specification does not describe behaviour of the following method in case of
argument attributes being null.
void addAttributes(Map attributes, int beginIndex, int endIndex)
======================================================================
###@###.### 10/27/04 02:21 GMT
Specification does not describe behavior if some arguments of some methods of
java.text.AttributedString are null, see detailed list below.
1.
Specification does not describe behaviour of the following constructors in
case of argument text being null
AttributedString(String text)
AttributedString(AttributedCharacterIterator text)
AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
2.
Specification does not describe behaviour of the following constructor in
case of argument text being null and in case of argument attributes being
null.
AttributedString(String text, Map attributes)
3.
Specification does not describe behaviour of the following methods in case of
argument attribute being null.
void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
void addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)
4.
Specification does not describe behaviour of the following method in case of
argument attributes being null.
void addAttributes(Map attributes, int beginIndex, int endIndex)
======================================================================
###@###.### 10/27/04 02:21 GMT
- duplicates
-
JDK-6190990 AttributedString Constructors don't document NPE on null arguments
-
- Closed
-
- relates to
-
JDK-6470103 [AS] AttributedString constructor API doc error
-
- Closed
-