update annotation processors to support J17

This commit is contained in:
Jonathan Shook 2022-01-05 15:31:59 -06:00
parent 471acc4579
commit b12e2afa66
3 changed files with 3 additions and 6 deletions

View File

@ -20,8 +20,7 @@ import java.util.stream.Collectors;
* <pre>classes/META-INF/services/servicename</pre> file for each
* implemented and annotated service name.
*/
@SupportedSourceVersion(SourceVersion.RELEASE_11)
@SupportedSourceVersion(SourceVersion.RELEASE_17)
public class ServiceProcessor extends AbstractProcessor {
public final static String SERVICE_NAME = Service.class.getCanonicalName();

View File

@ -24,7 +24,7 @@ import static io.nosqlbench.virtdata.api.processors.ProcessorClassNames.ThreadSa
* manifests. It simply calls listener interfaces to do the rest of the work.
*/
@SupportedOptions({"title"})
@SupportedSourceVersion(SourceVersion.RELEASE_11)
@SupportedSourceVersion(SourceVersion.RELEASE_17)
@SupportedAnnotationTypes({
ThreadSafeMapper,
PerThreadMapper

View File

@ -8,8 +8,6 @@ import javax.tools.Diagnostic;
import javax.tools.StandardLocation;
import java.io.Writer;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import static io.nosqlbench.virtdata.api.processors.ProcessorClassNames.PerThreadMapper;
@ -26,7 +24,7 @@ import static io.nosqlbench.virtdata.api.processors.ProcessorClassNames.ThreadSa
* enumerate candidate functions without requiring them to have a no-args constructor.
*/
@SupportedOptions({"title"})
@SupportedSourceVersion(SourceVersion.RELEASE_11)
@SupportedSourceVersion(SourceVersion.RELEASE_17)
@SupportedAnnotationTypes({
ThreadSafeMapper,
PerThreadMapper