diff --git a/atlasdb-config/src/main/java/com/palantir/atlasdb/factory/TransactionManagers.java b/atlasdb-config/src/main/java/com/palantir/atlasdb/factory/TransactionManagers.java index 8f4d1a58cc8..25e42a91ab4 100644 --- a/atlasdb-config/src/main/java/com/palantir/atlasdb/factory/TransactionManagers.java +++ b/atlasdb-config/src/main/java/com/palantir/atlasdb/factory/TransactionManagers.java @@ -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"); diff --git a/changelog/@unreleased/pr-6805.v2.yml b/changelog/@unreleased/pr-6805.v2.yml new file mode 100644 index 00000000000..700e4be30e4 --- /dev/null +++ b/changelog/@unreleased/pr-6805.v2.yml @@ -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