commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BCEL-50) ClassPath.getClassPath() does not handle multiple java.ext.dirs entries properly
Date Thu, 24 Apr 2014 12:33:22 GMT

     [ https://issues.apache.org/jira/browse/BCEL-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg updated BCEL-50:
-------------------------------

             Priority: Major
          Environment:     (was: Operating System: All
Platform: All)
    Affects Version/s:     (was: unspecified)
        Fix Version/s: 5.2
             Priority:   (was: P3)
             Severity:   (was: normal)

> ClassPath.getClassPath() does not handle multiple java.ext.dirs entries properly
> --------------------------------------------------------------------------------
>
>                 Key: BCEL-50
>                 URL: https://issues.apache.org/jira/browse/BCEL-50
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>            Reporter: Rohan Lloyd
>            Assignee: Apache Commons Developers
>             Fix For: 5.2
>
>         Attachments: ClassPath.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message