You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by bu...@apache.org on 2004/10/11 06:12:28 UTC
DO NOT REPLY [Bug 31630] New: -
ClassPath.getClassPath() does not handle multiple java.ext.dirs entries properly
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: bcel-dev@jakarta.apache.org
ReportedBy: apache@rohanl.com
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org