Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
5.2
-
None
-
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.