doc for Scanner.create(inputStream) specifies IOException in "throws" tag.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • sparc
    • solaris_9



      Name: rmT116609 Date: 05/26/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      SunOS newfish 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Blade-100

      A DESCRIPTION OF THE PROBLEM :

      http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html#create(java.io.InputStream)

      doc for Scanner create(InputStream source) specifies:

      Throws:
      IOException - if an I/O exception occurs

      code doesn't throw this exception.


      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 275151)
      ======================================================================

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: