On Fri, 13 Aug 2021 20:17:56 GMT, Brent Christian <bchri...@openjdk.org> wrote:

>> Ian Graves has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Couple of fixes
>
> test/jdk/java/util/regex/RegExTest.java line 3952:
> 
>> 3950: 
>> 3951:             m = Pattern.compile("\\H").matcher(matcherSubstring);
>> 3952:             assertTrue(m.find() || ng.equals(m.group()));
> 
> Should this be:
> `assertTrue(m.find() && ng.equals(m.group()));`

Good catch. De Morgan's mistake

-------------

PR: https://git.openjdk.java.net/jdk/pull/5092

Reply via email to