Re: RFR [S] 6854417: TESTBUG: java/util/regex/RegExTest.java fails intermittently

2015-07-13 Thread Xueming Shen
On 07/12/2015 02:01 PM, Ivan Gerasimov wrote: Hello! RegExTest fails sometimes in checking Boyer-Moore search. This is because it was assumed that after insertion a pattern into a string at some position, we'll find it at the same position. That's not true if we insert 'aa' into 'xxaxx' at inde

RFR [S] 6854417: TESTBUG: java/util/regex/RegExTest.java fails intermittently

2015-07-12 Thread Ivan Gerasimov
Hello! RegExTest fails sometimes in checking Boyer-Moore search. This is because it was assumed that after insertion a pattern into a string at some position, we'll find it at the same position. That's not true if we insert 'aa' into 'xxaxx' at index 3, cause then we'll find 'aa' at index 2.