langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteCodes.java
--- a/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteCodes.java Fri May 20 17:00:03 2016 -0700
+++ b/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/remote/RemoteCodes.java Sat May 21 22:32:08 2016 -0700
@@ -25,8 +25,6 @@
package jdk.internal.jshell.remote;
-import java.util.regex.Pattern;
-
/**
* Communication constants shared between the main process and the remote
* execution process
@@ -46,13 +44,4 @@
public static final int RESULT_EXCEPTION = 102;
public static final int RESULT_CORRALLED = 103;
public static final int RESULT_KILLED = 104;
-
- // String constants
- public static final String REPL_PACKAGE = "REPL";
- public static final String REPL_CLASS_PREFIX = "$JShell$";
- public static final String DOIT_METHOD_NAME = "do_it$";
- public static final Pattern PREFIX_PATTERN = Pattern.compile(
- "(" + REPL_PACKAGE + "\\.)?" +
- "(?<class>" + Pattern.quote(REPL_CLASS_PREFIX) +
- "\\w+" + ")" + "[\\$\\.]?");
}