Protocol Buffers 25.9
Last reviewed Sep 24, 2026
Prompt Details
Prompt Composition
1prompt
- Protocol Buffers 25.9112 lines · 4.1K tokens
CWE Coverage
- 20
- 176
- 190
- 197
- 209
- 306
- 319
- 347
- 349
- 409
- 436
- 470
- 502
- 532
- 674
- 681
- 770
- 807
- 829
- 862
- 863
- 915
- 918
- 1284
- 1286
Prompt Preview
Apply these rules to protoc 25.9, proto2/proto3 contracts, and Java 3.25.9 full or Lite runtimes in existing Java deployments. The 25.x compiler remains maintained for Java; verify support for other language runtimes separately rather than applying Java's support window to them.
Version scope and build inputs
- Keep
protocand the applicableprotobuf-java,protobuf-java-util, orprotobuf-javaliteartifacts on the matching release of the 25.x line, which the Java artifacts number 3.25.x, and move them together; inspect resolved transitive dependencies and deployed JARs for older copies. - Take
protocfrom the protobuf GitHub releases page, checking the SHA-256 digest listed for the asset, or from thecom.google.protobuf:protocMaven artifact. Align the Java artifacts withcom.google.protobuf:protobuf-bom, record the resolved versions with Gradle dependency locking where you build with Gradle, and let an update bot keep both current. Protobuf ships Java 3.x fixes only as new 25.x patch releases during its maintenance window, so run the newest one. When you can't check a version, leave a placeholder that fails the build rather than one you remember; the 25.9 in this prompt's title names the release these rules were checked against, not a build to install. - Use a security-maintained JDK within the published Java support policy, which currently covers Java 8, 11, 17, 21, and 25; an old source/bytecode target in the release build is not a JDK support guarantee.
- Declare
syntax = "proto2"orsyntax = "proto3"; do not rely on experimental Editions