update to Java 14

This commit is contained in:
Jonathan Shook 2020-05-05 01:05:07 -05:00
parent b4908079c5
commit 7d4dca8b05
5 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ The latest release of NoSQLBench is always available from github releases.
- (be sure to `chmod +x nb` once you download it) - (be sure to `chmod +x nb` once you download it)
- download [the latest release of nb.jar](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar), a - download [the latest release of nb.jar](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar), a
single-jar application. single-jar application.
- This requires java 12 or later, make sure your `java -version` command says that you are on Java 12 or later. - This requires java 14 or later, make sure your `java -version` command says that you are on Java 14 or later.
## Docker ## Docker

View File

@ -11,7 +11,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<javadoc.name>nosqlbench</javadoc.name> <javadoc.name>nosqlbench</javadoc.name>
<java.target.version>12</java.target.version> <java.target.version>14</java.target.version>
<!-- properties for package versions --> <!-- properties for package versions -->
<antlr4.version>4.8</antlr4.version> <antlr4.version>4.8</antlr4.version>
@ -474,7 +474,6 @@
<build> <build>
<plugins> <plugins>
<!-- Compile & Source 11 -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>

View File

@ -20,7 +20,8 @@ import java.util.stream.Collectors;
* <pre>classes/META-INF/services/servicename</pre> file for each * <pre>classes/META-INF/services/servicename</pre> file for each
* implemented and annotated service name. * implemented and annotated service name.
*/ */
@SupportedSourceVersion(SourceVersion.RELEASE_12) @SupportedSourceVersion(SourceVersion.RELEASE_14)
public class ServiceProcessor extends AbstractProcessor { public class ServiceProcessor extends AbstractProcessor {
public final static String SERVICE_NAME = Service.class.getCanonicalName(); 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. * manifests. It simply calls listener interfaces to do the rest of the work.
*/ */
@SupportedOptions({"title"}) @SupportedOptions({"title"})
@SupportedSourceVersion(SourceVersion.RELEASE_12) @SupportedSourceVersion(SourceVersion.RELEASE_14)
@SupportedAnnotationTypes({ @SupportedAnnotationTypes({
ThreadSafeMapper, ThreadSafeMapper,
PerThreadMapper PerThreadMapper

View File

@ -26,7 +26,7 @@ import static io.nosqlbench.virtdata.api.processors.ProcessorClassNames.ThreadSa
* enumerate candidate functions without requiring them to have a no-args constructor. * enumerate candidate functions without requiring them to have a no-args constructor.
*/ */
@SupportedOptions({"title"}) @SupportedOptions({"title"})
@SupportedSourceVersion(SourceVersion.RELEASE_12) @SupportedSourceVersion(SourceVersion.RELEASE_14)
@SupportedAnnotationTypes({ @SupportedAnnotationTypes({
ThreadSafeMapper, ThreadSafeMapper,
PerThreadMapper PerThreadMapper