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

Gunnar Morling commented on FLINK-30455:
----------------------------------------

Sent PR [https://github.com/apache/flink/pull/21532,] seems simple enough.

> Avoid "cleaning" of java.lang.String in ClosureCleaner
> ------------------------------------------------------
>
>                 Key: FLINK-30455
>                 URL: https://issues.apache.org/jira/browse/FLINK-30455
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Gunnar Morling
>            Assignee: Gunnar Morling
>            Priority: Major
>              Labels: pull-request-available
>
> When running a simple "hello world" example on JDK 17, I noticed the closure 
> cleaner tries to reflectively access the {{java.lang.String}} class, which 
> fails due to the strong encapsulation enabled by default in JDK 17 and 
> beyond. I don't think the closure cleaner needs to act on {{String}} at all, 
> as it doesn't contain any inner classes. Unless there are objections, I'll 
> provide a fix along those lines. With this change in place, I can run that 
> example on JDK 17.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to