Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't cast cached Throwable to Exception as it's too narrow. (#1139)
Reasoning: JCache spec and Payara implementation allows caching of exceptions. In theory everything extending Throwable can be cached -> casting to Exception is not safe as it can throw ClassCastException
- Loading branch information