-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
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
[FIXED JENKINS-39604] - ResourceBundleUtil#getBundle() should report misses on the low level #2627
Conversation
…resource misses on the low level I propose the FINER level.
Did we confirm, or are we certain, that this happens as regularly as I feared in the other PR? If so, 👍 |
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
@daniel-beck, I interpret it the same way. I expect authors would have an explicit reason to log something as high as WARNING but this seems like a simple mistake. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐝 Thanks @oleg-nenashev to follow up on that.
I think we're certain about it, but without jenkinsci/blueocean-plugin#556 we cannot reproduce it, I'd guess. Maybe @scherler could elaborate it |
@reviewbybees done |
@oleg-nenashev @daniel-beck in the original PR @tfennelly stated on the loop that it will be cached, so we only request it once. that is because of https://github.com/scherler/jenkins/blob/46b483ed190fef1ac39f5e9624706faa20b8c1e4/core/src/main/java/jenkins/util/ResourceBundleUtil.java#L74-L78 and https://github.com/scherler/jenkins/blob/46b483ed190fef1ac39f5e9624706faa20b8c1e4/core/src/main/java/jenkins/util/ResourceBundleUtil.java#L50 Further in https://docs.oracle.com/javase/6/docs/api/java/util/ResourceBundle.html you will find
|
If and when |
yeah, right. What would you recommend to overcome the later? One idea would be to store all installed plugins scan them and denote which matched and which not, to then only scan newly installed ones, but the question is: is it worth it? |
Great to see this land 🎉 |
Follow-up to the discussion in #2586 . This resource miss is a common and valid case for missing localizations, hence I propose to use the
FINER
level.https://issues.jenkins-ci.org/browse/JENKINS-39604
@reviewbybees @scherler @olivergondza @daniel-beck