You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 15:54:15 UTC

[jira] [Updated] (BCEL-82) BCEL 5.2 is not source compatible with 5.1

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

Emmanuel Bourg updated BCEL-82:
-------------------------------

          Component/s:     (was: Main)
                       Documentation
             Priority: Minor
          Environment:     (was: Operating System: All
Platform: All)
    Affects Version/s:     (was: unspecified)
                       5.2
             Priority:   (was: P2)
             Severity:   (was: minor)

> BCEL 5.2 is not source compatible with 5.1
> ------------------------------------------
>
>                 Key: BCEL-82
>                 URL: https://issues.apache.org/jira/browse/BCEL-82
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 5.2
>            Reporter: Alex Kinneer
>            Assignee: Apache Commons Developers
>            Priority: Minor
>
> At least two methods now declare checked exceptions that did not previously;
> there may be others:
> org.apache.bcel.generic.ObjectType.subclassOf(ObjectType)
> org.apache.bcel.generic.ReferenceType.getFirstCommonSuperclass(ReferenceType)
> --> Both now declare ClassNotFoundException
> This of course causes a compile-time error in existing code that does not
> provide (inadvertent) exception handling around these methods.
> Suggest revising release notes or remapping these exceptions to some type of
> RuntimeException.



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