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

Allow Atlasdb code to execute on JDK-21 to unblock testing #6805

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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