Add Java reflection bindings to the distribution #7851
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.61) × (1 − Review Confidence (0.87)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.61 · 1225 lines diff across 13 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.82 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.400
Real PR Conversation Timeline
5 items
is there a reason it stored in such a deeply nested com/google/flatbuffers/reflection directory?
My intent is to align with the package name of com.google.flatbuffers.reflection the same way the core api is in the package com.google.flatbuffers and the associated *.java files are in java/src/main/java/com/google/flatbuffers. This is also consistent with the Python API where the generated reflection module, flatbuffers.reflection, is nested under the top level flatbuffers module.
This also models the directory structure of the compiled class files when building flatbuffers-XX.YY.XX.jar with maven via mvn package in the top level java/ directory.
Approved
Approved these changes.
dbaileychess
chuckatkins
The distributions for C++ and Python include the generated reflection bindings but are currently missing from the other language packages. This will bring the Java package generated for releases closer to feature parity with the C++ and Python release artifacts.