This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 3a785f917e8 [FLINK-39803][e2e] Ignore jdk25 native access and
deprecated method warnings
3a785f917e8 is described below
commit 3a785f917e8172ba6276a268b8d3716e07a975af
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sat May 30 07:18:37 2026 +0200
[FLINK-39803][e2e] Ignore jdk25 native access and deprecated method warnings
---
flink-end-to-end-tests/test-scripts/common.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/flink-end-to-end-tests/test-scripts/common.sh
b/flink-end-to-end-tests/test-scripts/common.sh
index ab13b7e57ed..d9503bcb0a9 100755
--- a/flink-end-to-end-tests/test-scripts/common.sh
+++ b/flink-end-to-end-tests/test-scripts/common.sh
@@ -519,7 +519,14 @@ function check_logs_for_non_empty_out_files {
-e "WARNING: Please consider reporting"\
-e "WARNING: Use --illegal-access"\
-e "WARNING: All illegal access"\
+ -e "WARNING: A terminally deprecated method"\
+ -e "WARNING: sun.misc.Unsafe::"\
+ -e "WARNING: A restricted method"\
+ -e "WARNING: java.lang.System::"\
+ -e "WARNING: Restricted methods will be blocked"\
+ -e "WARNING: Use --enable-native-access"\
-e "Picked up JAVA_TOOL_OPTIONS"\
+ -e "^$"\
$FLINK_LOG_DIR/*.out\
| grep "." \
> /dev/null; then