This is an automated email from the ASF dual-hosted git repository. fpaul pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit 6edb612a0ca69edef628f154d7e3ae3d9efa0d7f Author: Fabian Paul <fabianp...@ververica.com> AuthorDate: Mon Jan 10 14:23:15 2022 +0100 [FLINK-25569][core] Mark UserCodeClassLoader as PublicEvolving --- .../violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8 | 2 -- .../src/main/java/org/apache/flink/util/UserCodeClassLoader.java | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flink-architecture-tests/violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8 b/flink-architecture-tests/violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8 index 1d58435..c0e15af 100644 --- a/flink-architecture-tests/violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8 +++ b/flink-architecture-tests/violations/5b9eed8a-5fb6-4373-98ac-3be2a71941b8 @@ -14,8 +14,6 @@ org.apache.flink.api.common.restartstrategy.RestartStrategies.fixedDelayRestart( org.apache.flink.api.common.restartstrategy.RestartStrategies.fixedDelayRestart(int, org.apache.flink.api.common.time.Time): Returned leaf type org.apache.flink.api.common.restartstrategy.RestartStrategies$RestartStrategyConfiguration does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated org.apache.flink.api.common.restartstrategy.RestartStrategies.fromConfiguration(org.apache.flink.configuration.ReadableConfig): Returned leaf type org.apache.flink.api.common.restartstrategy.RestartStrategies$RestartStrategyConfiguration does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated org.apache.flink.api.common.restartstrategy.RestartStrategies.noRestart(): Returned leaf type org.apache.flink.api.common.restartstrategy.RestartStrategies$RestartStrategyConfiguration does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated -org.apache.flink.api.common.serialization.DeserializationSchema$InitializationContext.getUserCodeClassLoader(): Returned leaf type org.apache.flink.util.UserCodeClassLoader does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated -org.apache.flink.api.common.serialization.SerializationSchema$InitializationContext.getUserCodeClassLoader(): Returned leaf type org.apache.flink.util.UserCodeClassLoader does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated org.apache.flink.api.common.state.AggregatingStateDescriptor.getType(): Returned leaf type org.apache.flink.api.common.state.StateDescriptor$Type does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated org.apache.flink.api.common.state.ListStateDescriptor.getType(): Returned leaf type org.apache.flink.api.common.state.StateDescriptor$Type does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated org.apache.flink.api.common.state.MapStateDescriptor.getType(): Returned leaf type org.apache.flink.api.common.state.StateDescriptor$Type does not satisfy: reside outside of package 'org.apache.flink..' or annotated with @Public or annotated with @PublicEvolving or annotated with @Deprecated diff --git a/flink-core/src/main/java/org/apache/flink/util/UserCodeClassLoader.java b/flink-core/src/main/java/org/apache/flink/util/UserCodeClassLoader.java index fe7ed71..e312618 100644 --- a/flink-core/src/main/java/org/apache/flink/util/UserCodeClassLoader.java +++ b/flink-core/src/main/java/org/apache/flink/util/UserCodeClassLoader.java @@ -18,12 +18,15 @@ package org.apache.flink.util; +import org.apache.flink.annotation.PublicEvolving; + /** * UserCodeClassLoader allows to register release hooks for a user code class loader. * * <p>These release hooks are being executed just before the user code class loader is being * released. */ +@PublicEvolving public interface UserCodeClassLoader { /**