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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 17
    • Affects Version/s: None
    • Component/s: tools
    • b28

        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}

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

                Created:
                Updated:
                Resolved: