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

tools/javac/tree/TreePosTest.java test fails with IllegalArgumentException

XMLWordPrintable

    • b162
    • generic
    • generic
    • Verified

        The test fails with the following exception:

        java.lang.IllegalArgumentException: Not a valid class name: -proc:none
        at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:151)
        at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:119)
        at TreePosTest.read(TreePosTest.java:284)
        at TreePosTest.test(TreePosTest.java:251)
        at TreePosTest.test(TreePosTest.java:240)
        at TreePosTest.test(TreePosTest.java:240)
        at TreePosTest.test(TreePosTest.java:240)
        at TreePosTest.test(TreePosTest.java:240)
        at TreePosTest.test(TreePosTest.java:240)
        at TreePosTest.test(TreePosTest.java:240)
        at TreePosTest.run(TreePosTest.java:187)
        at TreePosTest.main(TreePosTest.java:125)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.base/java.lang.Thread.run(Thread.java:844)

              jjg Jonathan Gibbons
              asmotrak Artem Smotrakov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: