Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

FP: Unsupported method call #25

Open
ben-manes opened this issue Nov 6, 2016 · 0 comments
Open

FP: Unsupported method call #25

ben-manes opened this issue Nov 6, 2016 · 0 comments

Comments

@ben-manes
Copy link

The BoundedLocalCache.lazySetMaximum() is unsupported.
This code calls BoundedLocalCache.lazySetMaximum(). However analysis found that
this method as well as and its overrides (if applicable) unconditionally throw
UnsupportedOperationException, so it's likely that this call will fail.

The base class throws an UOE and code generated subclasses override as needed. The exceptions are never thrown due to the method only being called if the feature was supported (and therefore overridden).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant