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

Bug fix required in WinNT.java #1129

Closed
wants to merge 4 commits into from

Conversation

trevormaggs
Copy link
Contributor

Please refer to Issue #1128 (KEY_ALL_ACCESS value is incorrect in WinNT.java) for details. There is an explanation why it needs to be fixed.

In short, The KEY_ALL_ACCESS variable has missing parentheses and that gives an incorrect ORed value. It should match with the original winnt.h C header file in Win32.

Please refer to Issue java-native-access#1128 (KEY_ALL_ACCESS value is incorrect in WinNT.java) for details. There is an explanation why it needs to be fixed. 

In short, The KEY_ALL_ACCESS variable has missing parentheses, which gives an incorrect ORed value. It should match with the original winnt.h C header file in Win32.
@matthiasblaesing
Copy link
Member

Thank you, the change looks sane. Could you please also add an entry to the CHANGES.md file as a bugfix?

@trevormaggs
Copy link
Contributor Author

@matthiasblaesing - done

@matthiasblaesing
Copy link
Member

Merged via 8969049 - Thank you!

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