From 3e3d516b787d5b8b3e81584e634e5cd97e2f6aae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20Walln=C3=B6fer?= Date: Fri, 12 Apr 2013 16:32:24 +0200 Subject: [PATCH] 8011885: Switch to Joni as default Regexp engine Reviewed-by: lagergren, sundar --- .../src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nashorn/src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java b/nashorn/src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java index 6ff66f21d05..4a7ac11bc99 100644 --- a/nashorn/src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java +++ b/nashorn/src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java @@ -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();