Skip to content

Conversation

@jasontedor
Copy link
Contributor

Motivation:

When attempting to set the selectedKeys fields on the selector
implementation, JDK 9 can throw an inaccessible object exception.

Modications:

Catch and log this exception as an possible course of action if the
sun.nio.ch package is not exported from java.base.

Result:

The selector replacement will fail gracefully as an expected course of
action if the sun.nio.ch package is not exported from java.base.

Motivation:

When attempting to set the selectedKeys fields on the selector
implementation, JDK 9 can throw an inaccessible object exception.

Modications:

Catch and log this exception as an possible course of action if the
sun.nio.ch package is not exported from java.base.

Result:

The selector replacement will fail gracefully as an expected course of
action if the sun.nio.ch package is not exported from java.base.
@normanmaurer
Copy link
Member

@jasontedor LGTM... will merge once ci is complete.

@normanmaurer normanmaurer self-assigned this Aug 31, 2016
@normanmaurer normanmaurer added this to the 4.0.42.Final milestone Aug 31, 2016
@normanmaurer
Copy link
Member

Cherry-picked into 4.1 (00c0664) and 4.0 (7690c89)

@jasontedor
Copy link
Contributor Author

Thanks @normanmaurer!

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