From 7563fe38b8e0e552662ab669eda093ab589feca0 Mon Sep 17 00:00:00 2001 From: Matthew Stevenson <52979934+matthewstevenson88@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:20:43 -0700 Subject: [PATCH] util: Add ExperimentalApi to AdvancedTlsX509KeyManager There may be reordering of `updateIdentityCredentialsFromFile()` arguments. Avoid making it stable while it is being evaluated. --- util/src/main/java/io/grpc/util/AdvancedTlsX509KeyManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/src/main/java/io/grpc/util/AdvancedTlsX509KeyManager.java b/util/src/main/java/io/grpc/util/AdvancedTlsX509KeyManager.java index 165faf5fd9ab..3014004dda3a 100644 --- a/util/src/main/java/io/grpc/util/AdvancedTlsX509KeyManager.java +++ b/util/src/main/java/io/grpc/util/AdvancedTlsX509KeyManager.java @@ -18,6 +18,7 @@ import static com.google.common.base.Preconditions.checkNotNull; +import io.grpc.ExperimentalApi; import java.io.File; import java.io.FileInputStream; import java.io.IOException; @@ -39,6 +40,7 @@ * AdvancedTlsX509KeyManager is an {@code X509ExtendedKeyManager} that allows users to configure * advanced TLS features, such as private key and certificate chain reloading. */ +@ExperimentalApi("https://github.com/grpc/grpc-java/issues/8024") public final class AdvancedTlsX509KeyManager extends X509ExtendedKeyManager { private static final Logger log = Logger.getLogger(AdvancedTlsX509KeyManager.class.getName()); // Minimum allowed period for refreshing files with credential information.