JDK 9 RFR of JDK-8035076: Pattern$BnMS never used due to bug in Pattern$BnM.optimize
xueming.shen at oracle.com
Wed Feb 19 22:31:23 UTC 2014
Please help codereview the change for JDK-8035076.
This is regression caused by the change we made back to jdk7 to support case
insensitive match, in which a base class SliceNode for Slice family was
we mistakenly subclass the SliceS class to this newly added class,
the original Slice class. The BnM optimization for supplementary
is based on the "instanceof Slice", is therefor disabled. Below is the
webrev for that changeset.
The proposed change is to subclass SliceS from Slice node. The change
verified via the test case attached in the issue report. However I
decided not to
include this test as a regression test as it is too "implementation
More information about the core-libs-dev