@Test
public void localClassLoader6UrlWithFileSchemeButNotAllowed() throws IOException, ConfigurationException {

	ClassLoader cl = Thread.currentThread().getContextClassLoader();
	String resource="/ClassLoader/ClassLoaderTestFile";
	URL url = ClassUtils.getResourceURL(cl, resource);
	String resourceAsFileUrl=url.toExternalForm();
	assertThat(resourceAsFileUrl, startsWith("file:"));
	URL actual = ClassUtils.getResourceURL(cl, resourceAsFileUrl);
	assertNull("file protocol was allowed but should not", actual);
}