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

FSInfo#getJarClassPath throws an exception not declared in its throws clause

XMLWordPrintable

    • b25
    • windows

        In recent versions of JDK (I think after JDK 8), the
        com.sun.tools.javac.file.FSInfo#getJarClassPath(...) is throwing a
        java.nio.file.InvalidPathException in certain cases when the classpath
        entry it is parsing isn't a valid one. This is because of its usage of
        the java.nio.file.Path APIs.

        The complete details of this are explained in the compiler-dev mail thread http://mail.openjdk.java.net/pipermail/compiler-dev/2019-October/013753.html

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: