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

Fix boolean return bugs fixes #170 #123 #138 #183

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

aploese
Copy link
Contributor

@aploese aploese commented Dec 15, 2018

OK the extended Boolean Tests run on Debian x86_64, x86_32 and armhf.
General 0 is false any other value will be true.
fixed for X86_64StubCompiler and Java DefaultStubCompiler the Java boolean is a stored in 8bit so any bit set above the 7th is ignored - this is fixed in the generated bytecode (NumberUtils).
This could be done also in the X86_64StubCompiler.compile(...) in the switch statement:
"switch (resultType.getNativeType()) {"

#170 is serious, arm cant load the correct lib later on.
The error message is quit funny - you will never guess what was really the cause. Try to remove the dependency to com.github.jnr:jffi:1.2.16:native. This is to be fixed in jffi.
.

@headius
Copy link
Member

headius commented May 19, 2021

Another one that got left behind, my apologies. This no longer merges, but if you are out there maybe you can help update it?

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