langtools/test/jdk/jshell/EditorTestBase.java
changeset 42412 ca6f4f1914b2
parent 42259 e4d04fcd0826
child 42972 47ca49eee534
equal deleted inserted replaced
42411:2433ceacb13e 42412:ca6f4f1914b2
   251                 a -> assertCommand(a, "System.out.println(\"Hello\")",
   251                 a -> assertCommand(a, "System.out.println(\"Hello\")",
   252                         "", "", null, "Hello\n", ""),
   252                         "", "", null, "Hello\n", ""),
   253                 a -> assertEditOutput(a, "/ed", "b ==> 10", () -> {
   253                 a -> assertEditOutput(a, "/ed", "b ==> 10", () -> {
   254                     writeSource(getSource() + "\nint b = 10");
   254                     writeSource(getSource() + "\nint b = 10");
   255                     exit();
   255                     exit();
   256                 })
   256                 }),
       
   257 
       
   258                 //TODO: this is a work-around to JDK-8170369
       
   259                 a -> assertCommand(a, "1234",
       
   260                         null, "", null, null, "")
   257         );
   261         );
   258     }
   262     }
   259 
   263 
   260     public static ExecutorService getExecutor() {
   264     public static ExecutorService getExecutor() {
   261         if (executor == null) {
   265         if (executor == null) {