DO NOT REPLY [Bug 31630] New: - ClassPath.getClassPath() does not handle multiple java.ext.dirs entries properly
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31630>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31630
ClassPath.getClassPath() does not handle multiple java.ext.dirs entries properly
Summary: ClassPath.getClassPath() does not handle multiple
java.ext.dirs entries properly
Product: BCEL
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
While running Findbugs (which uses bcel) on Mac OS X, I noticed that the class path returned from
ClassPath.getClassPath() was incorrect.
The problem is that on Mac OS X, java.ext.dirs contains 3 different directories. The code searches all 3
directories for .jar/.zip files to add to path, but then appends each filename to the entire java.ext.dirs
string, rather than appending it to the directory the file was found in.