ADFA-3683: Fix Java compilation warnings on build-deps module - #1517
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 Walkthrough
WalkthroughThe PR updates compiler build configuration, removes privileged execution from filesystem and JRT image code, removes ChangesCompiler modernization
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@composite-builds/build-deps/jdk-compiler/src/main/java/openjdk/tools/javac/processing/JavacProcessingEnvironment.java`:
- Around line 1918-1921: Update rethrowAbort to also rethrow ThreadDeath
alongside Abort, preserving direct propagation from the processor
initialization, processing, and re-entry catch paths; leave other Throwable
handling unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: daa945f9-86be-4890-a3fe-61120c48f5b6
📒 Files selected for processing (11)
composite-builds/build-deps/java-compiler/build.gradle.ktscomposite-builds/build-deps/java-compiler/src/main/java/com/itsaky/androidide/zipfs2/ZipFileSystem.javacomposite-builds/build-deps/java-compiler/src/main/java/javac/internal/jimage/BasicImageReader.javacomposite-builds/build-deps/java-compiler/src/main/java/javac/internal/jimage/NativeImageBuffer.javacomposite-builds/build-deps/java-compiler/src/main/java/javac/internal/jrtfs/JrtFileSystemProvider.javacomposite-builds/build-deps/java-compiler/src/main/java/javac/internal/jrtfs/SystemImage.javacomposite-builds/build-deps/jdk-compiler/build.gradle.ktscomposite-builds/build-deps/jdk-compiler/src/main/java/openjdk/source/tree/CaseTree.javacomposite-builds/build-deps/jdk-compiler/src/main/java/openjdk/tools/doclint/DocLint.javacomposite-builds/build-deps/jdk-compiler/src/main/java/openjdk/tools/javac/parser/JavaTokenizer.javacomposite-builds/build-deps/jdk-compiler/src/main/java/openjdk/tools/javac/processing/JavacProcessingEnvironment.java
💤 Files with no reviewable changes (2)
- composite-builds/build-deps/java-compiler/build.gradle.kts
- composite-builds/build-deps/jdk-compiler/src/main/java/openjdk/tools/doclint/DocLint.java
The three catch(Throwable) paths in annotation processing (processor init, processing, re-entry) route through rethrowAbort, which only propagated Abort and silently swallowed ThreadDeath. Rethrow both.
This reverts commit f6d2b2e.
No description provided.