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)