8166890: JShell: locks forever when input is piped
Summary: StopDetectingInputStream.setState must not override the state if the stream is closed.
Reviewed-by: rfield, shinyafox
# This file identifies root(s) of the test-ng hierarchy.
TestNG.dirs = .
modules = \
jdk.compiler/com.sun.tools.javac.util