URL configurationBaseURL,
ClassLoader classLoader) throws URISyntaxException, MalformedURLException, ResourceException {
List<String> mappingFileNames = mappingFileNamesUntyped == null? NO_STRINGS: new ArrayList<String>(mappingFileNamesUntyped);
this.persistenceUnitRoot = persistenceUnitRoot;
URI configurationBaseURI = new File(configurationBaseURL.getFile()).toURI();
URL rootURL = configurationBaseURI.resolve(persistenceUnitRoot).normalize().toURL();
List<URL> jarFileUrls = NO_URLS;
if (!excludeUnlistedClassesValue) {
jarFileUrls = new ArrayList<URL>();
for (String urlString: jarFileUrlsUntyped) {
URL url = configurationBaseURI.resolve(urlString).normalize().toURL();