Skip to content

Conversation

@MartijnMuijsers
Copy link
Contributor

@MartijnMuijsers MartijnMuijsers commented Jan 10, 2026

Refactors the code in Scope. The existing code shouldn't even compile, because static fields in local classes that are not compile-time-constant aren't allowed and were never allowed, but up to Java 24 this was apparently not enforced.

The new code compiles in Java 25+, is shorter and it's much easier to see what is happening.

@MartijnMuijsers MartijnMuijsers requested a review from a team as a code owner January 10, 2026 11:50
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

1 participant