Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4989068

PrintStream.println() prints nothing in interrupted thread (sol)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • core-libs
    • None
    • generic
    • solaris_9

      This program:

      public class HelloInterrupted {
          public static void main(String[] args) throws Exception {
      Thread.currentThread().interrupt();
      System.out.println("Hello");
          }
      }

      produces no output on solaris-sparc, It prints the expected output on
      linux-i586 and windows-i586

      ###@###.### 2004-02-04

            iris Iris Clark
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: