Skip to content

Commit

Permalink
8345622: test/langtools/tools/javac/annotations/parameter/ParameterAn…
Browse files Browse the repository at this point in the history
…notations.java should set processorpath to work correctly in the agentvm mode
  • Loading branch information
lahodaj committed Dec 10, 2024
1 parent 4f855d1 commit 5bf0394
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,9 @@ private void doTest(Path base, String code, String binaryNameToCheck,
}

Task.Result result = new JavacTask(tb)
.processors(new TestAP())
.options("-classpath", classes.toString(),
"-processorpath", System.getProperty("test.classes"),
"-processor", TestAP.class.getName(),
"-XDrawDiagnostics",
"-Xlint:classfile")
.outdir(classes)
Expand Down

0 comments on commit 5bf0394

Please sign in to comment.