You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/08/08 09:42:00 UTC

[jira] [Created] (FLINK-13650) Move classloading utils from CommonTestUtils with ClassLoaderUtils

Chesnay Schepler created FLINK-13650:
----------------------------------------

             Summary: Move classloading utils from CommonTestUtils with ClassLoaderUtils
                 Key: FLINK-13650
                 URL: https://issues.apache.org/jira/browse/FLINK-13650
             Project: Flink
          Issue Type: Improvement
          Components: Tests
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.10.0


{{org.apache.flink.core.testutils.CommonTestUtils}} contains a few utility methods for generating objects that aren't accessible from the system class path. These currently rely on binary code that is dumped into a file and then given to a ClassLoader.

Instead we could move these methods to {{org.apache.flink.testutils.ClassLoaderUtils}} to consolidate classloading utils, and rework these methods to rely on {{org.apache.flink.testutils.ClassLoaderUtils#compileAndLoadJava}} instead, which compiles from source instead.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)