Skip to content

Replace runtime panics with the matching Java exceptions - #174

Merged
dlunch merged 2 commits into
mainfrom
fix-normal-path-panics
Jul 16, 2026
Merged

dlunch merged 2 commits into
mainfrom
fix-normal-path-panics

Inline the IOException conversion at each I/O call site

760e734
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 16, 2026 in 0s

83.89% (+0.18%) compared to 62cf0c6

View this Pull Request on Codecov

83.89% (+0.18%) compared to 62cf0c6

Details

Codecov Report

❌ Patch coverage is 66.94215% with 40 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.89%. Comparing base (62cf0c6) to head (760e734).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
..._runtime/src/classes/java/io/random_access_file.rs 5.88% 16 Missing ⚠️
..._runtime/src/classes/java/io/file_output_stream.rs 50.00% 6 Missing ⚠️
...src/classes/java/lang/class_not_found_exception.rs 80.00% 5 Missing ⚠️
...runtime/src/classes/java/util/zip/zip_exception.rs 80.00% 5 Missing ⚠️
...a_runtime/src/classes/java/io/file_input_stream.rs 50.00% 4 Missing ⚠️
java_runtime/src/classes/java/io/file.rs 33.33% 2 Missing ⚠️
java_runtime/src/classes/java/util/zip/zip_file.rs 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #174      +/-   ##
==========================================
+ Coverage   83.71%   83.89%   +0.18%     
==========================================
  Files         171      173       +2     
  Lines       12867    12939      +72     
==========================================
+ Hits        10771    10855      +84     
+ Misses       2096     2084      -12     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.