-
Bug
-
Resolution: Fixed
-
P4
-
6
-
1.4
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2157144 | 7 | Joe Wang | P4 | Closed | Fixed | m05 |
JDK-2182529 | 6u18 | Joe Wang | P4 | Resolved | Fixed | b02 |
As per XMLStreamReader#getName Javadocs, method should throw
IllegalStateException if the current event is not start/end element. Current
implementation instead throws IllegalArgumentException (possibly because Stax
ref. impl. did the same?).
Trivially easy to change, on line 882 of XMLReaderImpl change exception type.
IllegalStateException if the current event is not start/end element. Current
implementation instead throws IllegalArgumentException (possibly because Stax
ref. impl. did the same?).
Trivially easy to change, on line 882 of XMLReaderImpl change exception type.
- backported by
-
JDK-2182529 sjsxp issue 44: XMLStreamReader.getName() should throw IllegalStateException, not IllegalArg
-
- Resolved
-
-
JDK-2157144 sjsxp issue 44: XMLStreamReader.getName() should throw IllegalStateException, not IllegalArg
-
- Closed
-