src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java
changeset 48939 ba545e52b932
parent 48275 b2190c70a1ac
child 50338 1d5694c1aa03
equal deleted inserted replaced
48938:b2d5bf3a61c4 48939:ba545e52b932
   149     public boolean interactiveOutput() {
   149     public boolean interactiveOutput() {
   150         return true;
   150         return true;
   151     }
   151     }
   152 
   152 
   153     @Override
   153     @Override
   154     public Iterable<String> currentSessionHistory() {
   154     public Iterable<String> history(boolean currentSession) {
   155         return history.currentSessionEntries();
   155         return history.entries(currentSession);
   156     }
   156     }
   157 
   157 
   158     @Override
   158     @Override
   159     public void close() throws IOException {
   159     public void close() throws IOException {
   160         //save history:
   160         //save history: