Skip to content

Fix Android.Systems documentation errors (R083, pass 3) - #1964

Merged
jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers-review-android-systems-docs-r083
Nov 28, 2026
Merged

jonathanpeppers merged 1 commit into
mainfrom
jonathanpeppers-review-android-systems-docs-r083

Conversation

@jonathanpeppers

@jonathanpeppers jonathanpeppers commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 31847995ae8762b71c77427715035cf57294b8ba

Dimension Assessment Rationale
Change confidence 8/10 ↑ Reviewed 1,667 documentation channels and checked XML and unchanged content.
↑ An independent source review found no actionable changes.
↓ Copilot could not retrieve the AOSP sources or local ledger; Android-version behavior was not tested on devices.
Diagnosis confidence 9/10 ↑ Each of the 83 corrected channels has a specific claim and pinned source in the review ledger.
↓ The independent review misstated JNI global-reference handling; that statement was checked separately against the managed source.
Evidence fit Unknown ↓ The assignment did not report a specific symptom or reproduction; the review identified incorrect documentation directly.

Scope

Third-pass review of AI-changed documentation in 16 Android.Systems files against the pre-AI baseline. Reviewed 737 changed documentation blocks and 1,667 channels; 83 channels in three files needed correction. Excluded 32 boilerplate blocks. No in-scope blocks remain unreviewed.

Corrections and sources

Uncertain findings

None. The 52 nonexact Javadoc comparisons were reviewed against the available pinned sources. The SDK source archive is 37.2 r01; it was not used to override contradictory r02 binding or implementation evidence.

Checks

  • Parsed all 16 XML files; verified unchanged metadata, links, parameter references, BOMs, and bytes outside the corrected channels. Placeholder count remained zero.
  • Checked 2,352 cited source ranges in 228 local source files and verified ledger coverage and verdicts for all changed channels.
  • git diff --check passed.
  • Independent gemini-4-argon review found no actionable changes; model use was verified in local usage events. The review incorrectly described an incoming global JNI reference as adopted. The linked managed source confirms that the peer takes a copy and the transferred input is released; the revised documentation does not claim adoption.
  • Copilot reported no open issues but could not access the AOSP sources or local ledger. The cited Android 16 wrapper link was checked separately; its source blob matches the reviewed local copy (78b1788981c86aa0c03f8ae750a9fe7aaf14e43e).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 28, 2026 08:16
@jonathanpeppers
jonathanpeppers enabled auto-merge (squash) November 28, 2026 08:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Android-specific native behavior and release-boundary claims require human verification because the pinned AOSP sources and review ledger were unavailable and retrieval of the cited native-wrapper revision failed.

No open issues 🎉

What changed in this PR

This documentation-only PR corrects Android.Systems API descriptions to better reflect managed JNI behavior and Android implementation details. It does not change API signatures or runtime code.

Changes:

  • Clarifies JNI reference release and runtime registration.
  • Corrects system-call parameters, return values, edge cases, and legacy overload availability.
  • Updates constant descriptions for resolver flags, errors, memory synchronization, and version-dependent sysconf support.
File Description
docs/​xml/​Android.Systems/​OsConstants.xml Corrects constant meanings and Android-specific support limitations.
docs/​xml/​Android.Systems/​Os.xml Clarifies system-call behavior, edge cases, and version differences.
docs/​xml/​Android.Systems/​Int64Ref.xml Corrects the JNI constructor’s ownership-transfer description.

Review effort: Balanced

@jonathanpeppers

Copy link
Copy Markdown
Member Author

@dalexsoto review

@dalexsoto dalexsoto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all three changed documentation files against the Android libcore/bionic implementations and the referenced POSIX/Linux behavior. The resolver flags, recvfrom address handling, Android 6.0 sysconf selector boundary, errno descriptions, and file-descriptor/default-ACL wording are consistent with those sources. The separate final pass found no blocking issues. Static source review only.

@jonathanpeppers
jonathanpeppers merged commit 4479326 into main Nov 28, 2026
4 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers-review-android-systems-docs-r083 branch November 28, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants