[8u-dev] (XS) RFR 8169056: StringIndexOutOfBoundsException in Pattern.compile with CANON_EQ flag (original) (raw)
Seán Coffey sean.coffey at oracle.com
Thu Mar 23 08:55:33 UTC 2017
- Previous message: [8u-dev] (XS) RFR 8169056: StringIndexOutOfBoundsException in Pattern.compile with CANON_EQ flag
- Next message: [8u-dev] (XS) RFR 8169056: StringIndexOutOfBoundsException in Pattern.compile with CANON_EQ flag
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looks good.
regards, Sean.
On 23/03/2017 00:26, Ivan Gerasimov wrote:
Hello!
This is an 8u-dev only fix. (In 9 the bug was fixed with a massive update [1]). The fix is essentially one-liner: just check that the index remains within the bounds after update. Regression test was updated to cover the case. Would you please help review at your convenience? BUGURL: https://bugs.openjdk.java.net/browse/JDK-8169056 WEBREV: http://cr.openjdk.java.net/~igerasim/8169056/00/webrev/ [1] http://hg.openjdk.java.net/jdk9/dev/jdk/rev/d0c319c32334
- Previous message: [8u-dev] (XS) RFR 8169056: StringIndexOutOfBoundsException in Pattern.compile with CANON_EQ flag
- Next message: [8u-dev] (XS) RFR 8169056: StringIndexOutOfBoundsException in Pattern.compile with CANON_EQ flag
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]