Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-329

TestTerminal tries to close System.in causing a hang on HP-UX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.63
    • 0.62
    • main
    • None
    • HP-UX eph-04 B.11.31 U ia64

      java version "1.8.0.01-hp-ux"
      Java(TM) SE Runtime Environment (build 1.8.0.01-hp-ux-rc2)
      Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

      This line: https://github.com/aeshell/aesh/blob/0.61/src/main/java/org/jboss/aesh/terminal/TestTerminal.java#L103

      In TestTerminal, in == System.in, therefore Aesh tries to close System.in.
      This seems to cause a infinite wait on HP JDK, while it doesn't do any harm on other JDKs. It causes some tests in wildfly-core to hang when running on HP-UX. I think that there should be a check whether in == System.in, and if yes, don't close it.

              spederse@redhat.com Stale Pedersen
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: