-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Rocksdb compilation fails with IBM Java #1926
Comments
@ayappanec That looks okay to me. @IslamAbdelRahman Any comments on this? |
@ayappanec if the extra const is the problem, will removing the const in cast work? Do we need to move from |
We used extra const_cast<jbyte*>(reinterpret_cast<const jbyte*>(value_slice.data())) It is a little bit longer than C style casting, but it follows Google C++ Style |
@siying Removing just the const qualifier fails to compile.
As mentioned by @zdenekkorcak , we need to add an extra |
New changes at ibmsoe@7ff6d27 |
Any update on this ? |
@ayappanec Switching to the C++ style I think likely addresses @siying's concerns. Can you open a PR? I have a concern though, that we have no way of preventing this from creeping in again in future because there is no IBM Java CI |
We have a Jenkins CI machine for Open Source projects in PowerPC64 LE. I will include rocksdb project with IBM java & Openjdk in PowerPC64 LE. |
@ayappanec Okay but is the output of that public and can we somehow get notifications if we break the build like we do with Travis on GitHub? |
The output of that will be public. I will try to set notifications for facebook/rocksdb if there is any build break. |
While doing
make rocksdbjava
with IBM Java, it fails with the following error.Checking out the jni header file in IBM Java, it has
whereas in Openjdk,
The const qualifier is missing in Set* JNI calls for IBM Java. I made a small patch which fixes this issue.
ibmsoe@6663b40
If this okay, i can go for a pull request.
Thanks
Ayappan P
The text was updated successfully, but these errors were encountered: