Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 0f3215f

Browse files
authored
fix(java): address reachability issues in native image compilation with version 22.2.0 (#1815)
* fix(java): address reachability issues in native image compilation with version 22.2.0
1 parent c6180ca commit 0f3215f

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/downstream-native-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
graalvm: [22.2.0, 22.1.0]
18+
graalvm: [22.2.0]
1919
java: [11, 17]
2020
repo:
2121
# GAPIC library that doesn't use a real GCP project in integration tests

dependencies.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ maven.com_google_http_client_google_http_client=com.google.http-client:google-ht
7171
maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.42.0
7272
maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.18
7373
maven.javax_annotation_javax_annotation_api=javax.annotation:javax.annotation-api:1.3.2
74-
maven.org_graalvm_sdk=org.graalvm.sdk:graal-sdk:22.1.0.1
74+
maven.org_graalvm_sdk=org.graalvm.sdk:graal-sdk:22.2.0
7575

7676
# Testing maven artifacts
7777
maven.junit_junit=junit:junit:4.13.2

gax-grpc/src/main/resources/META-INF/native-image/com.google.api/gax-grpc/native-image.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ Args = --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSs
1010
io.grpc.netty.shaded.io.netty.handler.ssl,\
1111
io.grpc.internal.RetriableStream \
1212
--features=com.google.api.gax.grpc.nativeimage.ProtobufMessageFeature,\
13-
com.google.api.gax.grpc.nativeimage.GrpcNettyFeature
13+
com.google.api.gax.grpc.nativeimage.GrpcNettyFeature \
14+
-H:-RunReachabilityHandlersConcurrently

0 commit comments

Comments
 (0)