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

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

[~rmetzger] et al., if you think this makes sense, could you assign this issue 
to me? Thanks!

> 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
>            Priority: Major
>
> 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