1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Compile to Java 17 bytecode (#2304)

Also fix a linter warning.
This commit is contained in:
Lai Jiang
2024-01-25 18:29:07 -05:00
committed by GitHub
parent 58ec0f826d
commit c0ac9bdba4
5 changed files with 9 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ import javax.persistence.Converter;
/** Processor to generate {@link AttributeConverter} for {@code VKey} type. */
@SupportedAnnotationTypes("google.registry.persistence.WithVKey")
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedSourceVersion(SourceVersion.RELEASE_17)
public class VKeyProcessor extends AbstractProcessor {
private static final String CONVERTER_CLASS_NAME_TEMP = "VKeyConverter_%s";