changeset 188:36e36a2d4312

8011885: Switch to Joni as default Regexp engine Reviewed-by: lagergren, sundar
author hannesw
date Fri, 12 Apr 2013 16:32:24 +0200
parents ed4293ceec0e
children e70e6b38826b
files src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java	Fri Apr 12 16:31:16 2013 +0200
+++ b/src/jdk/nashorn/internal/runtime/regexp/RegExpFactory.java	Fri Apr 12 16:32:24 2013 +0200
@@ -40,7 +40,7 @@
     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();