Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24] Local instantiation in static context allowed by ECJ #3699

Merged

Conversation

stephan-herrmann
Copy link
Contributor

  • allocation must compare "nearest enclosing static scope"
  • search for enclosing static should not go beyond the target enclosing
  • LocalEnumTest: corrected some expected outcomes
    • extracted subset from one test for specific comparison with javac

Fixes #3687

+ allocation must compare "nearest enclosing static scope
+ search for enclosing static should not go beyond the target enclosing
+ LocalEnumTest: corrected some expected outcomes
  + extracted subset from one test for specific comparison with javac

Fixes eclipse-jdt#3687
@stephan-herrmann stephan-herrmann added this to the BETA_JAVA24 M3 milestone Feb 6, 2025
@stephan-herrmann stephan-herrmann merged commit 71b5dbf into eclipse-jdt:BETA_JAVA24 Feb 6, 2025
8 checks passed
@stephan-herrmann stephan-herrmann deleted the issue3687 branch February 6, 2025 19:52
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