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

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