- Assume one has a GCP account and has the following secret with name
secret_txt
(see line 16 of bug/nativeCompile/googleSecretManager/ApplicationSecretsClient.java). - Change the
gcp.project-id
in application.yml to correct value. - Use GraalVM via sdk man or some other means. On my end, I enable GraalVM via
sdk use java 22.2.r17-grl
- Execute
./gradlew nativeCompile
. - Run the generated native image
./build/native/nativeCompile/bug-nativeCompile-googleSecretManager
- Observe that
io.grpc.auth.GoogleAuthLibraryCallCredentials createJwtHelperOrNull WARNING: Failed to create JWT helper. This is unexpected java.lang.NoSuchMethodException: com.google.auth.oauth2.ServiceAccountCredentials.getQuotaProjectId()
error is generated. The above error is not generated whenever./gradlew run
is executed.
-
Notifications
You must be signed in to change notification settings - Fork 0
montesmoci/bug-nativeCompile-googleSecretsManager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published