fix: add synchronized to fillInStackTrace override (S3551)#2019
Conversation
Throwable.fillInStackTrace() is synchronized in the JDK; the override must match to satisfy the method contract.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesException thread-safety fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 |
|



Summary
synchronizedmodifier toExitShellException.fillInStackTrace()to match the parentThrowable.fillInStackTrace()contract.Fixes SonarCloud S3551 which is causing the Quality Gate to fail on master (C Reliability Rating on New Code).
Summary by CodeRabbit