[
https://issues.apache.org/jira/browse/FLINK-13650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-13650.
------------------------------------
Resolution: Fixed
master:
9dfd51a76cf77a6aa188680740236d55b7f61990
caa5467efd5fdb76fea9ee168a310cddd3491267
> Consolidate 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{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
(v8.3.2#803003)