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

Path.resolve description is wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 11, 17
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Path.html#resolve(java.nio.file.Path)

      "If the other parameter is an absolute path then this method trivially returns other."
      "Where the given path has a root component then resolution is highly implementation dependent and therefore unspecified."

      Being an absolute path is the same thing as having a root component, isn't it? If so, above sentence are pretty contradictory.


      FREQUENCY : always


        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: