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)
- download [the latest release of nb.jar](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar), a
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

View File

@ -11,7 +11,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<javadoc.name>nosqlbench</javadoc.name>
<java.target.version>12</java.target.version>
<java.target.version>14</java.target.version>
<!-- properties for package versions -->
<antlr4.version>4.8</antlr4.version>
@ -474,7 +474,6 @@
<build>
<plugins>
<!-- Compile & Source 11 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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
* implemented and annotated service name.
*/
@SupportedSourceVersion(SourceVersion.RELEASE_12)
@SupportedSourceVersion(SourceVersion.RELEASE_14)
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_12)
@SupportedSourceVersion(SourceVersion.RELEASE_14)
@SupportedAnnotationTypes({
ThreadSafeMapper,
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.
*/
@SupportedOptions({"title"})
@SupportedSourceVersion(SourceVersion.RELEASE_12)
@SupportedSourceVersion(SourceVersion.RELEASE_14)
@SupportedAnnotationTypes({
ThreadSafeMapper,
PerThreadMapper