From the JniGen API review of 2026-07-14. Priority: P3-low.
Three confirmed instances:
jni/mod.rs field doc links [JniGen::ignore_const], removed when ignore was unified — dead intra-doc link.
- The generated Rust
OwnedObject::from_raw safety comment describes a NativeHandle.withPtr read-lock / consume write-lock protocol that no longer exists (the current design is plain monitors) — it misdescribes the actual safety argument.
- The workspace CLAUDE.md (out of repo) lists
scalar_type_wrapper, generic_type_wrapper, ignore_* methods that no longer exist.
Fix all three; add -D rustdoc::broken_intra_doc_links to CI if not already enforced.
From the JniGen API review of 2026-07-14. Priority: P3-low.
Three confirmed instances:
jni/mod.rsfield doc links[JniGen::ignore_const], removed whenignorewas unified — dead intra-doc link.OwnedObject::from_rawsafety comment describes aNativeHandle.withPtrread-lock /consumewrite-lock protocol that no longer exists (the current design is plain monitors) — it misdescribes the actual safety argument.scalar_type_wrapper,generic_type_wrapper,ignore_*methods that no longer exist.Fix all three; add
-D rustdoc::broken_intra_doc_linksto CI if not already enforced.