Fix an error handling where the XMLStreamReader impl throws EOFException instead of XMLStreamException as defined.
------------- Commit messages: - 8327378: XMLStreamReader throws EOFException instead of XMLStreamException Changes: https://git.openjdk.org/jdk/pull/23524/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23524&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8327378 Stats: 68 lines in 3 files changed: 62 ins; 1 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/23524.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23524/head:pull/23524 PR: https://git.openjdk.org/jdk/pull/23524