langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/DemultiplexInput.java
equal
deleted
inserted
replaced
43 private final Map<String, OutputStream> io; |
43 private final Map<String, OutputStream> io; |
44 private final Iterable<OutputStream> closeList; |
44 private final Iterable<OutputStream> closeList; |
45 |
45 |
46 DemultiplexInput(InputStream input, Map<String, OutputStream> io, Iterable<OutputStream> closeList) { |
46 DemultiplexInput(InputStream input, Map<String, OutputStream> io, Iterable<OutputStream> closeList) { |
47 super("output reader"); |
47 super("output reader"); |
|
48 setDaemon(true); |
48 this.delegate = new DataInputStream(input); |
49 this.delegate = new DataInputStream(input); |
49 this.io = io; |
50 this.io = io; |
50 this.closeList = closeList; |
51 this.closeList = closeList; |
51 } |
52 } |
52 |
53 |