Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Internal JVM exception running key protect SDK on Java version > 9 #53

Open
chris-giblin opened this issue Sep 6, 2022 · 0 comments
Open

Comments

@chris-giblin
Copy link
Contributor

When running unit tests for the key protect KMS submodule, an internal exception due to a sdk module not updated for java modules in Java version 9 and up. Work around is to run junit with special VM params:

--add-opens java.base/java.lang=ALL-UNNAMED

This is a workaround for Java versions 9-11. The master pom.xml has been updated to specifiy the above VM args when running junit.

Ultimately the SDK must be updated. To this end, I have created an issue for IBM's key protect SDK. Details there:

IBM/keyprotect-java-client#29

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant