Chesnay Schepler created FLINK-12049:
----------------------------------------

             Summary: ClassLoaderUtilsTest fails on Java 9
                 Key: FLINK-12049
                 URL: https://issues.apache.org/jira/browse/FLINK-12049
             Project: Flink
          Issue Type: Sub-task
          Components: Tests
    Affects Versions: 1.9.0
            Reporter: Chesnay Schepler


{code}
public void testWithAppClassLoader() {
        String result = 
ClassLoaderUtil.getUserCodeClassLoaderInfo(ClassLoader.getSystemClassLoader());
        assertTrue(result.toLowerCase().contains("system classloader"));
{code}

{{ClassLoader.getSystemClassLoader()}} no longer returns an URLClassLoader on 
Java 9, but {{ClassLoaderUtil.getUserCodeClassLoaderInfo}} relies on this to 
extract information about the ClassLoader.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to