RFR: 8280403: RegEx: String.split can fail with NPE in Pattern.CharPredicate::match
Andrey Turbanov
aturbanov at openjdk.java.net
Mon Jan 24 21:01:10 UTC 2022
On Mon, 24 Jan 2022 17:21:57 GMT, Ian Graves <igraves at openjdk.org> wrote:
> Replacing a buggy NullPointerException in `Pattern.compile()` with the proper PatternSyntaxException
test/jdk/java/util/regex/RegExTest.java line 4551:
> 4549: }
> 4550:
> 4551: //This test is for
This comment is confusing. Shouldn't it include JBS ID?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7201
More information about the core-libs-dev
mailing list