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

[23] default imports between explicit/implicit classes are in conflict #2952

Closed
stephan-herrmann opened this issue Sep 13, 2024 · 1 comment
Assignees
Milestone

Comments

@stephan-herrmann
Copy link
Contributor

Have a project with both explicit and implicitly declared classes.

In the latter the default import module java.base may be missing, depending on compile order.

Reason: default imports are cached in environment.root.defaultImports.

@stephan-herrmann stephan-herrmann added this to the BETA_JAVA23 milestone Sep 13, 2024
@stephan-herrmann stephan-herrmann self-assigned this Sep 13, 2024
stephan-herrmann added a commit to stephan-herrmann/eclipse.jdt.core that referenced this issue Sep 13, 2024
stephan-herrmann added a commit that referenced this issue Sep 13, 2024
#2953)

don't use the cached default import java.lang.* in implicitly declared classes.

fixes #2952
@stephan-herrmann
Copy link
Contributor Author

Resolved in #2953

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

No branches or pull requests

1 participant