-
Bug
-
Resolution: Not an Issue
-
P3
-
7u4
-
generic
-
windows_7
During testing we found the case where the method next () and hasNext () do not corresponded to each other. Method hasNext() returns true, but the method of next() throws NoSuchElementException.
May be xml file is wrong because of the line separator is \r\n , but in any case, the behavior of these methods must match. In the case of a file with the correct line separator(\n) it works properly.
May be xml file is wrong because of the line separator is \r\n , but in any case, the behavior of these methods must match. In the case of a file with the correct line separator(\n) it works properly.
- relates to
-
JDK-7144423 StAX EventReader swallows the cause of error
- Closed