gRPC Java 1.84
Last reviewed Oct 10, 2026
Prompt Details
Prompt Composition
2prompts
- Java 25113 lines · 2.8K tokens
- gRPC Java 1.8493 lines · 3.7K tokens
Total206 lines · 6.5K tokens
CWE Coverage
- 20
- 22
- 59
- 78
- 79
- 88
- 89
- 95
- 113
- 117
- 190
- 201
- 208
- 209
- 214
- 295
- 297
- 306
- 319
- 323
- 327
- 338
- 347
- 362
- 367
- 378
- 427
- 470
- 471
- 494
- 502
- 532
- 611
- 653
- 681
- 732
- 770
- 772
- 776
- 789
- 807
- 862
- 863
- 915
- 916
- 918
- 922
- 942
- 1333
Prompt Preview
Apply the Java 25 baseline first. These rules cover gRPC Java 1.84, which supports Java 8 and later and, on Android, minSdkVersion 24 with Java 8 language desugaring.
Dependencies and runtime scope
- Keep every
io.grpcartifact on one release throughio.grpc:grpc-bomand move them together; a mixed classpath ofgrpc-api,grpc-core,grpc-netty,grpc-stub, andgrpc-xdsacross releases risks internal API incompatibilities. gRPC supports only its latest release and the one before it, with no LTS, so move to a newer release before 1.84 drops out of that window. - Inspect
grpc-netty-shadeditself for its bundled Netty version, using the JAR'sMETA-INF/io.grpc.netty.shaded.io.netty.versions.propertiesand that gRPC tag's dependency declarations. Check official advisories and release notes for gRPC, Netty, native TLS, and protobuf; an externalio.nettyoverride does not patch relocated classes, and a newer gRPC artifact is not proof that a particular Netty fix is bundled. - Use
grpc-netty-shadedin non-Android production only after verifying its bundled dependencies meet the application's security requirements, and verify the selected TLS provider. If a required fix is absent and the complete dependency graph can remove the shaded transport, evaluategrpc-nettywith an aligned, compatibleio.netty:netty-bomset; exclude the shaded transport, change shaded imports, and test ALPN, TLS providers, native libraries, and HTTP/2 behavior before deploying. - Account for
grpc-xdsandgrpc-s2ausing shaded Netty internally: replacing the application's