mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-16 18:00:29 +00:00
8011885: Switch to Joni as default Regexp engine
Reviewed-by: lagergren, sundar
This commit is contained in:
parent
f88be03f6b
commit
3e3d516b78
@ -40,7 +40,7 @@ public class RegExpFactory {
|
||||
private final static String JONI = "joni";
|
||||
|
||||
static {
|
||||
final String impl = Options.getStringProperty("nashorn.regexp.impl", JDK);
|
||||
final String impl = Options.getStringProperty("nashorn.regexp.impl", JONI);
|
||||
switch (impl) {
|
||||
case JONI:
|
||||
instance = new JoniRegExp.Factory();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user