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

StandardJavaFileManager::getJavaFileObjectsFromPaths() methods contain a typo in their spec

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b28

      Backports

        Description

        The following specifications
        https://docs.oracle.com/en/java/javase/16/docs/api/java.compiler/javax/tools/StandardJavaFileManager.html#getJavaFileObjectsFromPaths(java.lang.Iterable)
        https://docs.oracle.com/en/java/javase/16/docs/api/java.compiler/javax/tools/StandardJavaFileManager.html#getJavaFileObjectsFromPaths(java.util.Collection)
        both say:

        =================================
        Implementation Requirements:
            The default implementation converts each path to a file and calls getJavaObjectsFromFiles
        =================================

        Actually the link leads to and OpenJDK implementation calls method `getJavaFileObjectsFromFiles()`

        the problem is here in the javadoc text:

         {@link #getJavaFileObjectsFromFiles getJavaObjectsFromFiles}

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlahoda Jan Lahoda
                Reporter:
                dbessono Dmitry Bessonov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: