Skip to content

[java] Fix #5096 - StackOverflowError with recursively bounded tvar#5387

Merged
adangel merged 2 commits into
pmd:mainfrom
oowekyala:issue5096-stackoverflow
Dec 15, 2024
Merged

[java] Fix #5096 - StackOverflowError with recursively bounded tvar#5387
adangel merged 2 commits into
pmd:mainfrom
oowekyala:issue5096-stackoverflow

Conversation

@oowekyala

Copy link
Copy Markdown
Member

Describe the PR

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Comment thread pmd-java/src/main/java/net/sourceforge/pmd/lang/java/types/JTypeVar.java Outdated
@ghost

ghost commented Dec 5, 2024

Copy link
Copy Markdown
1 Message
📖 Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Download full report as build artifact

Generated by 🚫 Danger

@adangel adangel added this to the 7.9.0 milestone Dec 15, 2024

@adangel adangel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

adangel added a commit that referenced this pull request Dec 15, 2024
@adangel adangel merged commit 375df89 into pmd:main Dec 15, 2024
adangel added a commit that referenced this pull request Dec 15, 2024
…5387)

Merge pull request #5387 from oowekyala:issue5096-stackoverflow
@oowekyala oowekyala deleted the issue5096-stackoverflow branch December 15, 2024 21:29
oowekyala added a commit to oowekyala/pmd that referenced this pull request Feb 14, 2025
This is a leftover from pmd#5387.
Additionally, lambda parameter types are now
projected upwards. That means they are "clean",
like inferred variable types, they don't mention
capture variables. Since their uses are captured
anyway where it matters, this shouldn't change
anything to the precision of inferred types.
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.

[java] StackOverflowError with recursively bound type variable

2 participants