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

[#3680] Enabled SecurityManager results in ClassNotFoundError during io.... #3695

Closed
wants to merge 1 commit into from

Conversation

normanmaurer
Copy link
Member

...netty.util.NetUtil initialization

Motivation:

When a SecurityManager is in place that preven reading the somaxconn file trying to bootstrap a channel later will result in a ClassNotFoundError.

Modifications:

  • Reading the file in a privileged block.

Result:

No more ClassNotFoundError when a SecurityManager is in place.

…io.netty.util.NetUtil initialization

Motivation:

When a SecurityManager is in place that preven reading the somaxconn file trying to bootstrap a channel later will result in a ClassNotFoundError.

Modifications:

- Reading the file in a privileged block.

Result:

No more ClassNotFoundError when a SecurityManager is in place.
@normanmaurer
Copy link
Member Author

@Scottmitch @trustin Please check...

@spinscale this should fix your issue.

@normanmaurer normanmaurer self-assigned this Apr 27, 2015
@normanmaurer normanmaurer added this to the 4.0.28.Final milestone Apr 27, 2015
@normanmaurer
Copy link
Member Author

Cherry-picked into 4.0 (7cb9b99) , 4.1 (f67b14b) and master (18ace80)

@Scottmitch Scottmitch deleted the accesscontrol branch April 28, 2015 06:53
@Scottmitch
Copy link
Member

@normanmaurer Deleted your branch :)

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.

2 participants