We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Currently UIDefaultsWithResourceBundleCache uses a copy of the resources, so it might go out of date with JDK.
UIDefaultsWithResourceBundleCache
Have you considered using delegation instead?
In other words, something like
public class DelegatingUIDefaults extends UIDefaults { private final UIDefaults base; // or an array public DelegatingUIDefaults(UIDefaults base) { this.base = base; } @Override public Object get(Object key, Locale l) { Object value = super.get(key, l); // try searching locally first if (value != null) { return value; } return base.get(key, l); // delegate if missing }
Additional context
See apache/jmeter#5715 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Currently
UIDefaultsWithResourceBundleCache
uses a copy of the resources, so it might go out of date with JDK.Have you considered using delegation instead?
In other words, something like
Additional context
See apache/jmeter#5715 (comment)
The text was updated successfully, but these errors were encountered: