Skip to content

[25] JavaSearchBugs16Tests.testAIOOBEForRecordClassGh790() throws AssertionError#4095

Draft
stephan-herrmann wants to merge 1 commit into
eclipse-jdt:BETA_JAVA25from
stephan-herrmann:issue3976
Draft

[25] JavaSearchBugs16Tests.testAIOOBEForRecordClassGh790() throws AssertionError#4095
stephan-herrmann wants to merge 1 commit into
eclipse-jdt:BETA_JAVA25from
stephan-herrmann:issue3976

Conversation

@stephan-herrmann
Copy link
Copy Markdown
Contributor

  • boldly reduce split package from source & binary versions of the same module to just one constituent.

Fixes #3976

AssertionError

+ boldly reduce split package from source & binary versions of the same
module to just one constituent.

Fixes eclipse-jdt#3976
@stephan-herrmann stephan-herrmann added this to the BETA_JAVA25 M3 milestone Jun 12, 2025
@stephan-herrmann
Copy link
Copy Markdown
Contributor Author

This change is a mere band-aid to avoid creation of an unwanted SplitPackageBinding, by reducing it to one of its constituents. I don't even want to think about what happens downstream with this arbitrarily chosen PlainPackageBinding.

The question is not, whether the fix is correct (it is not), but rather: how much should we care about the initial situation in the first place? How much do we want to invest in its solution?

@stephan-herrmann stephan-herrmann marked this pull request as draft June 12, 2025 22:14
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