[jira] [Created] (FLINK-17530) Fix illegal reflective access by ClosureCleaner

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17530) Fix illegal reflective access by ClosureCleaner

Shang Yuanchun (Jira)
Robert Metzger created FLINK-17530:
--------------------------------------

             Summary: Fix illegal reflective access by ClosureCleaner
                 Key: FLINK-17530
                 URL: https://issues.apache.org/jira/browse/FLINK-17530
             Project: Flink
          Issue Type: Sub-task
          Components: API / DataStream
    Affects Versions: 1.11.0
            Reporter: Robert Metzger
            Assignee: Robert Metzger
             Fix For: 1.11.0


To reproduce:

{code}
        @Test
        public void testJava11Warning() {
                MapFunction<String, String> fun = new MapFunction<String, String>() {
                        String field = "asdf";
                        @Override
                        public String map(String value) throws Exception {
                                return value + field;
                        }
                };
                ClosureCleaner.clean(fun, ExecutionConfig.ClosureCleanerLevel.RECURSIVE, false);
        }
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)