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

Wrong exception mentioned in the tutorials

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: docs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      A DESCRIPTION OF THE PROBLEM :
      Hello. Please review the tutorials under https://docs.oracle.com/javase/tutorial/ - they are not necessarily accurate.

      The example: https://docs.oracle.com/javase/tutorial/essential/io/copy.html: "If the target is a non-empty directory, the copy fails with the FileAlreadyExistsException exception." - this does not make sense and is also not true. The exception is DirectoryNotEmptyException.

      I'm not sure if this is a good place to report such a mistakes, please let me know.


        Attachments

          Activity

            People

            Assignee:
            bhoran Bernard Horan
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: