Skip to content

Commit 1bdb7b4

Browse files
committedDec 12, 2024
8345622: test/langtools/tools/javac/annotations/parameter/ParameterAnnotations.java should set processorpath to work correctly in the agentvm mode
Reviewed-by: darcy, liach
1 parent 0ad6423 commit 1bdb7b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎test/langtools/tools/javac/annotations/parameter/ParameterAnnotations.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -640,8 +640,9 @@ private void doTest(Path base, String code, String binaryNameToCheck,
640640
}
641641

642642
Task.Result result = new JavacTask(tb)
643-
.processors(new TestAP())
644643
.options("-classpath", classes.toString(),
644+
"-processorpath", System.getProperty("test.classes"),
645+
"-processor", TestAP.class.getName(),
645646
"-XDrawDiagnostics",
646647
"-Xlint:classfile")
647648
.outdir(classes)

0 commit comments

Comments
 (0)
Please sign in to comment.