Skip to content

Commit

Permalink
Compile to Java 21 bytecode
Browse files Browse the repository at this point in the history
We have been running in Java 21 runtime for a couple of weeks and every
works as expected.
  • Loading branch information
jianglai committed Mar 20, 2024
1 parent de3af34 commit b7979e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ subprojects {
// search for `flex-template-base-image` and update the parameter value.
// There are at least two instances, one in core/build.gradle, one in
// release/stage_beam_pipeline.sh
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21

project.tasks.test.dependsOn runPresubmits

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

/** Processor to generate {@link AttributeConverter} for {@code VKey} type. */
@SupportedAnnotationTypes("google.registry.persistence.WithVKey")
@SupportedSourceVersion(SourceVersion.RELEASE_17)
@SupportedSourceVersion(SourceVersion.RELEASE_21)
public class VKeyProcessor extends AbstractProcessor {

private static final String CONVERTER_CLASS_NAME_TEMP = "VKeyConverter_%s";
Expand Down

0 comments on commit b7979e0

Please sign in to comment.