Martin Kouba edited a comment on Task WELD-1291

A few impl notes:

  • does not implement java.util.Map
  • LoadingCache.get(K) throws ExecutionException if a checked exception was thrown while loading the value, UncheckedExecutionException if an unchecked exception was thrown
  • LoadingCache.get(K) throws ExecutionError if an error was thrown while loading the value
  • LoadingCache.get(K) is type-safe (unlike java.util.Map.get(Object))
  • LoadingCache is still annotated with, on the other hand it's the only recommended way to replace deprecated APIs
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: