You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix StatusLogger crash when property access is denied #4429
apiAffects the public APIbugIncorrect, unexpected, or unintended behavior of existing codepriority: P2Confirmed bug without event loss, hang, crash or leakwaiting-for-maintainer
StatusLogger.PropertiesUtilsDouble#readAllAvailableProperties calls System.getProperties() and System.getenv() without catching SecurityException.
Under a security manager denying either, StatusLogger fails to initialize and the API breaks with it.
Reproduce: install a security manager denying PropertyPermission("*", "read,write") or RuntimePermission("getenv.*"), then call StatusLogger.getLogger().
Hi @ramanathan1504, I'd like to work on this and submit a PR to catch SecurityException on System.getProperties() and System.getenv(), with unit test coverage.
@abhiramaabPr was already there now only am updated tags. Sorry for that🙏
There is so many in our issue page, can you choose your own and give the pr? I am ready review.
No problem at all @ramanathan1504! Thanks for letting me know. I'll pick up another open issue from the tracker right now. Looking forward to your review!
apiAffects the public APIbugIncorrect, unexpected, or unintended behavior of existing codepriority: P2Confirmed bug without event loss, hang, crash or leakwaiting-for-maintainer
Activity
abhiramaab commentedon Oct 25, 2026
Hi @ramanathan1504, I'd like to work on this and submit a PR to catch SecurityException on System.getProperties() and System.getenv(), with unit test coverage.
ramanathan1504 commentedon Oct 25, 2026
@abhiramaab
Prwas already there now only am updated tags. Sorry for that🙏There is so many in our issue page, can you choose your own and give the
pr? I am ready review.Thanks for the contribution👍🏾
abhiramaab commentedon Oct 25, 2026
No problem at all @ramanathan1504! Thanks for letting me know. I'll pick up another open issue from the tracker right now. Looking forward to your review!
Shekharrajak commentedon Nov 22, 2026
I am analysing and working on this.