Skip to content

Do not log explicit no unsafe, fixes helper method.#8111

Merged
normanmaurer merged 1 commit intonetty:4.1from
seut:s/explicit-no-unsafe
Jul 9, 2018
Merged

Do not log explicit no unsafe, fixes helper method.#8111
normanmaurer merged 1 commit intonetty:4.1from
seut:s/explicit-no-unsafe

Conversation

@seut
Copy link
Copy Markdown
Contributor

@seut seut commented Jul 9, 2018

Motivation:

Users should not see a scary log message when Netty is initialized if
Netty configuration explicitly disables unsafe. The log message that
produces this warning was previously guarded but by recent refactoring
a bug was introduced inside the guard helper method.

Modifications:

This commit brings back the guard against the scary log message if
unsafe is explicitly disabled.

Result:

No log message is produced when unsafe is unavailable because Netty was
told to not look for it.

Relates #5624, #6696

Motivation:

Users should not see a scary log message when Netty is initialized if
Netty configuration explicitly disables unsafe. The log message that
produces this warning was previously guarded but by recent refactoring
a bug was introduced inside the guard helper method.

Modifications:

This commit brings back the guard against the scary log message if
unsafe is explicitly disabled.

Result:

No log message is produced when unsafe is unavailable because Netty was
told to not look for it.

Relates netty#5624, netty#6696
@seut
Copy link
Copy Markdown
Contributor Author

seut commented Jul 9, 2018

@jasontedor I hope you don't mind that I've re-used your PR/commit message ;)

@jasontedor
Copy link
Copy Markdown
Contributor

@seut I don’t mind at all, thank you for fixing this. I had noticed a few weeks ago this was broken again and haven’t taken the time yet to submit a PR so I’m super thankful that you did! ❤️

@normanmaurer normanmaurer merged commit 0920738 into netty:4.1 Jul 9, 2018
@normanmaurer
Copy link
Copy Markdown
Member

@seut doh... thanks a lot !

@normanmaurer normanmaurer added this to the 4.1.26.Final milestone Jul 9, 2018
@normanmaurer normanmaurer self-assigned this Jul 9, 2018
@seut seut deleted the s/explicit-no-unsafe branch July 9, 2018 20:12
@seut
Copy link
Copy Markdown
Contributor Author

seut commented Jul 9, 2018

@normanmaurer thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants