Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Allow Atlasdb code to execute on JDK-21 to unblock testing (#6805)
Browse files Browse the repository at this point in the history
Allow Atlasdb code to execute on JDK-21 to unblock testing
  • Loading branch information
carterkozak authored Nov 2, 2023
1 parent e59b61c commit cf86560
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,6 @@
@Value.Immutable
@StagedBuilderStyle
public abstract class TransactionManagers {
static {
int javaVersion = Runtime.version().feature();
Preconditions.checkState(
javaVersion != 21,
"We are currently investigating an issue with AtlasDB running under Java 21 (PDS-417767)."
+ " Please use a JDK version < 21",
SafeArg.of("javaVersion", javaVersion));
}

private static final SafeLogger log = SafeLoggerFactory.get(TransactionManagers.class);
public static final LockClient LOCK_CLIENT = LockClient.of("atlas instance");

Expand Down
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-6805.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: improvement
improvement:
description: Allow Atlasdb code to execute on JDK-21 to unblock testing
links:
- https://github.com/palantir/atlasdb/pull/6805

0 comments on commit cf86560

Please sign in to comment.