Skip to content
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

[LOGMGR-191] Amend NullPointerException in RegexFilter.isLoggable() #172

Closed
wants to merge 1 commit into from

Conversation

tkobayas
Copy link

@tkobayas tkobayas commented Mar 5, 2018

Unit test and fix.

Note, if this fix is not applied, ran.get() in the testRegexFilter4 would return 'true' because Logger.publish() simply ignores the NullPointerException. (So it's slightly different from the scenario described in the JIRA). Anyway, RegexFilter.isLoggable() should explicitly return 'false', I think.

https://github.com/jboss-logging/jboss-logmanager/blob/master/src/main/java/org/jboss/logmanager/Logger.java#L846-L849

@jamezp
Copy link
Member

jamezp commented Mar 8, 2018

I'm closing this in favor of #174.

@jamezp jamezp closed this Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants