Skip to content

Adjust native-image class initialization in HOWTO.md - #2572

Open
glencoco1337 wants to merge 1 commit into
bcgit:mainfrom
glencoco1337:pbti-fix
Open

glencoco1337 wants to merge 1 commit into
bcgit:mainfrom
glencoco1337:pbti-fix

Conversation

@glencoco1337

Copy link
Copy Markdown

The org.bouncycastle.math.ec.tools.TraceOptimizer is marked as initialized at build-time by the broad policy org.bouncycastle suggested in HOWTO.md, this can showcase SecureRandom instance in the static field R, which is disallowed by Native Image. To prevent further issues, this PR changes the HOWTO.md file to also mark said class as run-time initialized.

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.

1 participant