You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dan Lipofsky (Jira)" <ji...@apache.org> on 2025/08/04 20:56:00 UTC
[jira] [Comment Edited] (FLINK-17524) Remove "An illegal reflective access operation has occurred" warnings on JDK11
[ https://issues.apache.org/jira/browse/FLINK-17524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17993094#comment-17993094 ]
Dan Lipofsky edited comment on FLINK-17524 at 8/4/25 8:55 PM:
--------------------------------------------------------------
Same here (ArraysAsListSerializer in chill-java-0.7.6.jar, Java 11, flink 1.19.1 and 1.19.3). Is there anything we can do about this?
was (Author: dlipofsky):
Same here (ArraysAsListSerializer in chill-java-0.7.6.jar, Java 11, flink 1.19.1). Is there anything we can do about this?
> Remove "An illegal reflective access operation has occurred" warnings on JDK11
> ------------------------------------------------------------------------------
>
> Key: FLINK-17524
> URL: https://issues.apache.org/jira/browse/FLINK-17524
> Project: Flink
> Issue Type: Improvement
> Components: Command Line Client
> Affects Versions: 1.11.0
> Reporter: Robert Metzger
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> When running Flink on JDK11, there are various warnings like this one:
> {code}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.apache.flink.api.java.ClosureCleaner (file:/private/tmp/flink/flink-dist/target/flink-1.11-SNAPSHOT-bin/flink-1.11-SNAPSHOT/lib/flink-dist_2.11-1.11-SNAPSHOT.jar) to field java.lang.String.value
> WARNING: Please consider reporting this to the maintainers of org.apache.flink.api.java.ClosureCleaner
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> {code}
> This is an umbrella issue to collect all cases of such warnings. We will create separate tickets for each affected class / module / component.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)