Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-82

BCEL 5.2 is not source compatible with 5.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.2
    • None
    • Documentation
    • None

    Description

      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.

      Attachments

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            alkinneer@hotmail.com Alex Kinneer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: