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

javax.tools.ToolProvider should detect if jdk.compiler matches the version of java.compiler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • tools

      JSR 199 and JSR 269 are standalone technologies and the primary use case is specific to IDEs that can run on the previous release of the platform e.g. JDK N and implement a Java compiler to support new language feature in JDK N+1.

      java.compiler is upgradeable whereas jdk.compiler and langtools modules are not. javax.tools.ToolProvider::getSystemJavaCompiler should return the java compiler if jdk.compiler matches the version of java.compiler. This also applies to other relevant APIs such as getSystemDocumentationTool.

            cstein Christian Stein
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: