Skip to content

Convert assert to either BugInCF or reduction to false - #7901

Open
mernst wants to merge 65 commits into
typetools:masterfrom
mernst:type-inference-8-review-2-11
Open

Convert assert to either BugInCF or reduction to false#7901
mernst wants to merge 65 commits into
typetools:masterfrom
mernst:type-inference-8-review-2-11

Conversation

@mernst

@mernst mernst commented Jul 30, 2026

Copy link
Copy Markdown
Member

No description provided.

mernst added 30 commits July 25, 2026 13:21
mernst added 17 commits July 30, 2026 07:50
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: d08cb685-41b1-4d78-be3f-f012fefe7500

📥 Commits

Reviewing files that changed from the base of the PR and between 882cc9e and 655d3a0.

📒 Files selected for processing (10)
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/InvocationTypeInference.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/bound/BoundSet.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/constraint/Expression.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/AbstractType.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/Dependencies.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/InferenceFactory.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/InferenceType.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/QualifierVar.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/VariableBounds.java
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/util/Resolution.java
💤 Files with no reviewable changes (1)
  • framework/src/main/java/org/checkerframework/framework/util/typeinference8/types/AbstractType.java

📝 Walkthrough

Walkthrough

The pull request hardens Java 8 type inference by replacing assertion-only checks with BugInCF failures, handling false bound sets during lambda and invocation constraint reduction, and accepting null method-reference return types as void. It also adjusts non-pertinent argument constraint generation, qualifier constraint kinds, dependency expansion, checked-exception iterator usage, parameterized type validation, and removes a stale comment.

Possibly related PRs

Suggested reviewers: smillst

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant