Skip to content

Fix: issue 4949 Parsing issue in switch with yield with Java 25 parser configuration#4950

Merged
jlerbsc merged 1 commit into
javaparser:masterfrom
jlerbsc:master
Jan 12, 2026
Merged

Fix: issue 4949 Parsing issue in switch with yield with Java 25 parser configuration#4950
jlerbsc merged 1 commit into
javaparser:masterfrom
jlerbsc:master

Conversation

@jlerbsc

@jlerbsc jlerbsc commented Jan 12, 2026

Copy link
Copy Markdown
Collaborator

Fixes #4949 .

Support for the yield statement must be added for each version of Java that supports it.

@jlerbsc jlerbsc merged commit ddb8240 into javaparser:master Jan 12, 2026
35 checks passed
@jlerbsc jlerbsc added this to the next release milestone Jan 12, 2026
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Jan 12, 2026
@martinaldrin

Copy link
Copy Markdown

Thanks for a quick fix. when can we expect a new release?

@jlerbsc

jlerbsc commented Jan 12, 2026

Copy link
Copy Markdown
Collaborator Author

Unfortunately, I will not be releasing a new version with just one bug fix. At best, I can plan for a new version next month.

@martinaldrin

Copy link
Copy Markdown

but isn't that the purpose of the minor version, e.g. 3.28.1 to allow patches on previous versions?

@jlerbsc

jlerbsc commented Jan 12, 2026

Copy link
Copy Markdown
Collaborator Author

Please remember that this work is done in our spare time. It is time that we are not spending with our families, children, and friends, and we are not paid for the time spent.

@martinaldrin

Copy link
Copy Markdown

Hi, I fully understand that. I did not expect that a release is time consuming. I thought it was kind of automatic.

@jlerbsc

jlerbsc commented Jan 12, 2026

Copy link
Copy Markdown
Collaborator Author

You can also build the snapshot version yourself by cloning the repository and using the maven install command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Fixed A PR that offers a fix or correction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parsing issue in switch with yield with Java 25 parser configuration

2 participants