JDK-6854417 : [TEST_BUG]: java/util/regex/RegExTest.java fails intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.regex
  • Affected Version: hs16,8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-06-24
  • Updated: 2016-07-01
  • Resolved: 2015-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9 Other
7u91Fixed 8u65Fixed 9 b74Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
java/util/regex/RegExTest.java failed during promotion with

Boyer Moore (Supplementary)   : Failed(1)

Comments
The test can be triggered to fail reliably using -Dseed=-5185871966573548947 as an argument to jtreg (although that failure is for the Boyer Moore ASCII section).
11-07-2015

EVALUATION Looks like the algorithm is wrong: we create a random pattern, a random string which does not contain that pattern and expect that after insertion of that pattern into string the new string will match our pattern only once, at the insertion point (well, at least not earlier) Counterexample to that: pattern 'abab', string 'abcd', insert in the middle
24-06-2009