mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-14 20:35:09 +00:00
8035076: Pattern$BnMS never used due to bug in Pattern$BnM.optimize
Updated SliceS to subclass Slice node Reviewed-by: alanb, martin
This commit is contained in:
parent
7cb914ecd2
commit
e2a87a0e2c
@ -3961,7 +3961,7 @@ loop: for(int x=0, offset=0; x<nCodePoints; x++, offset+=len) {
|
||||
* Node class for a case sensitive/BMP-only sequence of literal
|
||||
* characters.
|
||||
*/
|
||||
static final class Slice extends SliceNode {
|
||||
static class Slice extends SliceNode {
|
||||
Slice(int[] buf) {
|
||||
super(buf);
|
||||
}
|
||||
@ -4034,7 +4034,7 @@ loop: for(int x=0, offset=0; x<nCodePoints; x++, offset+=len) {
|
||||
* Node class for a case sensitive sequence of literal characters
|
||||
* including supplementary characters.
|
||||
*/
|
||||
static final class SliceS extends SliceNode {
|
||||
static final class SliceS extends Slice {
|
||||
SliceS(int[] buf) {
|
||||
super(buf);
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
* 6358731 6178785 6284152 6231989 6497148 6486934 6233084 6504326 6635133
|
||||
* 6350801 6676425 6878475 6919132 6931676 6948903 6990617 7014645 7039066
|
||||
* 7067045 7014640 7189363 8007395 8013252 8013254 8012646 8023647 6559590
|
||||
* 8027645
|
||||
* 8027645 8035076
|
||||
*/
|
||||
|
||||
import java.util.regex.*;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user