Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Conversation

@idelvall
Copy link

StandardJarScanner ignores jars in manifest Class-path header
* {@link java.net.URLClassLoader#getURLs()}.
* </p>
* @param cl
* @return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method assumes all JARs have manifests. The assumption is not valid.

@idelvall
Copy link
Author

I commented my response in ASF Bugzilla

}
String[] entries = classPath.split(" ");
for (String entry : entries) {
File f = new File(entry);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Class-Path entries are always relative to the containing JAR.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markt-asf markt-asf closed this May 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants