-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[GR-62386] [native-image] Kerberos: Generated image is not respecting sun.security.jgss.native JVM argument #8674
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
Comments
Hi @fernando-valdez ! Any update on this? |
Hi @fernando-valdez , |
Hi @oubidar-Abderrahim , |
I found this issue interesting, so I looked into it during my free time. Regarding the sample code in this issue, the result of the
With these commands, the error does not occur, and the program finishes successfully. Since the I don’t fully understand all the details, but I hope this information is helpful. Environment:
|
Uh oh!
There was an error while loading. Please reload this page.
As per https://docs.oracle.com/en/java/javase/11/security/accessing-native-gss-api.html#GUID-88A42A9C-AC8B-426E-A8A7-B30518C2162A, when
sun.security.jgss.native
flag is set totrue
,GSSManager.getInstance()
should ideally give a GSSManager implementation using native gss implementation. However, that is not happening.Below is a sample code.
The same code works when running on JVM (including oracle graalvm without native image).
I have tried different flags like the below. But nothing worked:
Environment:
Podman container using Linux RHEL 8
Graalvm for JDK 22
The text was updated successfully, but these errors were encountered: