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-154) ClassParser.parse() generates NPE if it cannot open the file
Date Thu, 24 Apr 2014 12:17:16 GMT

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

Emmanuel Bourg updated BCEL-154:
--------------------------------

         Priority: Major
      Environment:     (was: Operating System: Windows XP
Platform: PC)
    Fix Version/s: 6.0
         Priority:   (was: P2)
         Severity:   (was: normal)

> ClassParser.parse() generates NPE if it cannot open the file
> ------------------------------------------------------------
>
>                 Key: BCEL-154
>                 URL: https://issues.apache.org/jira/browse/BCEL-154
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.2
>            Reporter: Sebb
>            Assignee: Apache Commons Developers
>             Fix For: 6.0
>
>
> The finally block does not check for file == null, so file oper failure generates an
NPE rather than propagating the IOError.



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

Mime
View raw message