RFR: JDK-8023647,," abc1c " .matches( " (\\w)+1\\1 " )) returns false

Xueming Shen xueming.shen at oracle.com
Mon Aug 26 20:54:53 UTC 2013


Please help review the proposed change for 8023647:


It appears group index updating in situation of GroupCurly backing off
is incorrect from day one (the bug is reproducible back to jdk5). The
current implementation does not back off the index to a previous match,
but the one is being back off.

The ln#4459 is updating a local variable before return, which is not
necessary, I removed it with this change.


More information about the core-libs-dev mailing list