[8u] RFR: 8139414: java.util.Scanner hasNext() returns true, next() throws NoSuchElementException
Alex Kashchenko
akashche at redhat.com
Wed Sep 30 11:13:37 UTC 2020
Hi,
Please review the backport of JDK-8139414 to 8u:
Bug: https://bugs.openjdk.java.net/browse/JDK-8139414
jdk9 change: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/26cb3ae62fd3
8u webrev: https://cr.openjdk.java.net/~akasko/jdk8u/8139414/webrev.00/
This backport is a dependency of the JDK-8172695 (RFC thread [1]). It
includes necessary parts of JDK-8072722 (RFR thread [2], rejected) and
applies almost cleanly on top of it. The only change to original
patch, besides paths, is the removal of two lines that reference
"modCount" variable [3][4]. Testing: jtreg:java/util/Scanner ,
jck:api/java_util/Scanner .
[1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-May/011789.html
[2] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-June/011854.html
[3] https://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/26cb3ae62fd3#l1.86
[4] https://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/26cb3ae62fd3#l1.98
--
-Alex
More information about the jdk8u-dev
mailing list