Skip to content

Expand Java 1.2 runtime API compatibility - #190

Merged
dlunch merged 2 commits into
mainfrom
agent/runtime-api-gaps
Jul 25, 2026
Merged

Expand Java 1.2 runtime API compatibility#190
dlunch merged 2 commits into
mainfrom
agent/runtime-api-gaps

Conversation

@dlunch

@dlunch dlunch commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • expand Java 1.2/CLDC/CDC-compatible java.lang and java.io APIs
  • complete core collection contracts, list/tree implementations, algorithms, wrappers, timers, properties, random, and timezone behavior
  • add JVM support for thread interruption, array/class metadata, and option-based file opening
  • add broad runtime and compiled-Java regression coverage

Validation

  • cargo test --workspace (419 passed, 1 ignored)
  • cargo clippy -p java_runtime --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • git diff --check

Copilot AI review requested due to automatic review settings July 25, 2026 02:27

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.35323% with 824 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.35%. Comparing base (7dc1b90) to head (78e9bd1).

Files with missing lines Patch % Lines
java_runtime/src/classes/java/util/vector.rs 63.73% 70 Missing ⚠️
java_runtime/src/classes/java/io/print_writer.rs 83.20% 68 Missing ⚠️
...me/src/classes/java/util/abstract_list_sub_list.rs 75.86% 56 Missing ⚠️
java_runtime/src/classes/java/util/linked_list.rs 85.41% 42 Missing ⚠️
..._runtime/src/classes/java/util/timer_task_queue.rs 65.25% 41 Missing ⚠️
...ava_runtime/src/classes/java/io/buffered_reader.rs 91.74% 34 Missing ⚠️
...ava_runtime/src/classes/java/util/abstract_list.rs 88.40% 32 Missing ⚠️
...e/src/classes/java/util/collections_copies_list.rs 82.31% 29 Missing ⚠️
java_runtime/src/classes/java/util/arrays.rs 95.95% 26 Missing ⚠️
java_runtime/src/classes/java/util/properties.rs 92.04% 26 Missing ⚠️
... and 55 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
+ Coverage   86.89%   90.35%   +3.46%     
==========================================
  Files         208      265      +57     
  Lines       20420    32303   +11883     
==========================================
+ Hits        17744    29188   +11444     
- Misses       2676     3115     +439     

☔ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6309d4757a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread java_runtime/src/classes/java/lang/string.rs
@dlunch
dlunch merged commit c4665b0 into main Jul 25, 2026
10 checks passed
@dlunch
dlunch deleted the agent/runtime-api-gaps branch July 25, 2026 04:59
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.

2 participants