-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 24
-
Component/s: core-libs
In previous releases, `MethodTypeDesc.resolveConstantDesc` threw an unchecked `TypeNotPresentException` instead of a checked `ReflectiveOperationException` when a component class was not found. This behavior is now corrected to throw a `ClassNotFoundException`, conforming to the specification.
Code that previously handled `TypeNotPresentException` in addition to `ReflectiveOperationException` can consolidate the exception handling into the existing `ReflectiveOperationException` handling.
Code that previously handled `TypeNotPresentException` in addition to `ReflectiveOperationException` can consolidate the exception handling into the existing `ReflectiveOperationException` handling.