[ 
https://issues.apache.org/jira/browse/FLINK-17524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099829#comment-17099829
 ] 

Robert Metzger commented on FLINK-17524:
----------------------------------------

Another one happening on current master:
{code}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.apache.flink.shaded.akka.org.jboss.netty.util.internal.ByteBufferUtil 
(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 method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of 
org.apache.flink.shaded.akka.org.jboss.netty.util.internal.ByteBufferUtil
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}


> 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: Task
>    Affects Versions: 1.11.0
>            Reporter: Robert Metzger
>            Priority: Major
>
> 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.3.4#803005)

Reply via email to