mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
update annotation processors to support J17
This commit is contained in:
parent
471acc4579
commit
b12e2afa66
@ -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();
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user