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

BufferedReader on stdin causes java.lang.Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • core-libs
    • None
    • sparc
    • solaris_2.6

      See attached test case
      dana.burns@East 2001-01-04

      Oops, bugtraq barfed on the attachment so here it is:

      import java.io.*;
      public class Test {
        public static void main(String args[]) {
          try {
            BufferedReader br =
      new BufferedReader(new InputStreamReader(System.in), 1);
            String line = r.readLine();
          } catch (Exception e) {
            e.printStackTrace();
          }
        }
      }

      dana.burns@East 2001-01-04

            Unassigned Unassigned
            doburns Dana Burns (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: