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

(fs) Files.newBufferedReader has typo in javadoc

    XMLWordPrintable

Details

    • b23
    • x86
    • linux
    • Verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      Documentation under the "Accessing Files" section of the overview shows a demonstration of getting and using a "BufferReader" when it means to be a "BufferedReader."

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      BufferedReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);
      ACTUAL -
      BufferReader reader = Files.newBufferedReader(path, StandardCharsets.UTF_8);

      URL OF FAULTY DOCUMENTATION :
      http://download.oracle.com/javase/7/docs/api/java/nio/file/Path.html

      Attachments

        Activity

          People

            alanb Alan Bateman
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: