@@ -0,0 +1,814 @@
+from dmoj.executors.java_executor import JavacExecutor%0A%0A%0Aclass Executor(JavacExecutor):%0A    compiler = 'javac10'%0A    vm = 'java10'%0A    name = 'JAVA10'%0A    jvm_regex = r'java-10-%7Copenjdk10'%0A%0A    test_program = '''%5C%0Aimport java.io.IOException;%0A%0Ainterface IORunnable %7B%0A    public void run() throws IOException;%0A%7D%0A%0Apublic class self_test %7B%0A    public static void run(IORunnable target) throws IOException %7B%0A        target.run();%0A    %7D%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        run(() -%3E %7B%0A            var buffer = new byte%5B4096%5D;%0A            int read;%0A            while ((read = System.in.read(buffer)) %3E= 0)%0A                System.out.write(buffer, 0, read);%0A        %7D);%0A    %7D%0A%7D'''%0A%0A    def get_compile_args(self):%0A        return %5Bself.get_compiler(), '-encoding', 'UTF-8', self._code%5D%0A

Add Java 10 (EAP) executor support