-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 9
-
Component/s: core-libs
-
b102
-
generic
-
generic
GuardedInvocation's constructor accepts optional Class param for exception class (for guard). While Class<? extends Throwable> is used, a non-Java usage can pass a Class that is not a subclass Throwable. GuardedInvocation must do a runtime check to make sure that the Class passed represents is a subclass of Throwable class.