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

Don't use sun.misc.Unsafe when IKVM.NET is used #9042

Merged
merged 1 commit into from Apr 12, 2019

Conversation

normanmaurer
Copy link
Member

Motivation:

IKVM.NET seems to ship a bug sun.misc.Unsafe class, for this reason we should better disable our sun.misc.Unsafe usage when we detect IKVM.NET is used.

Modifications:

Check if IKVM.NET is used and if so do not use sun.misc.Unsafe by default.

Result:

Fixes #9035 and #8916.

@normanmaurer
Copy link
Member Author

/cc @nitsanw

Motivation:

IKVM.NET seems to ship a bug sun.misc.Unsafe class, for this reason we should better disable our sun.misc.Unsafe usage when we detect IKVM.NET is used.

Modifications:

Check if IKVM.NET is used and if so do not use sun.misc.Unsafe by default.

Result:

Fixes #9035 and #8916.
@normanmaurer normanmaurer merged commit 34aa2c8 into 4.1 Apr 12, 2019
@normanmaurer normanmaurer deleted the ikvm_dot_net_unsafe branch April 12, 2019 20:41
normanmaurer added a commit that referenced this pull request Apr 15, 2019
Motivation:

IKVM.NET seems to ship a bug sun.misc.Unsafe class, for this reason we should better disable our sun.misc.Unsafe usage when we detect IKVM.NET is used.

Modifications:

Check if IKVM.NET is used and if so do not use sun.misc.Unsafe by default.

Result:

Fixes #9035 and #8916.
alfred-yeung added a commit to riptano/netty that referenced this pull request May 28, 2022
Motivation:
IKVM.NET seems to ship a bug sun.misc.Unsafe class, for this reason we should
better disable our sun.misc.Unsafe usage when we detect IKVM.NET is used.

Modifications:
Check if IKVM.NET is used and if so do not use sun.misc.Unsafe by default.

Result:
Fixes (netty#9035) and (netty#8916).
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.

Unexpected exception in the selector loop. java.lang.ArrayIndexOutOfBoundsException
2 participants