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

Fix determining log class by stack on JDK21 #1522

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

raboof
Copy link
Member

@raboof raboof commented Oct 8, 2024

Fixes #1521

It appears on JDK21 the lambda class is called e.g. class org.apache.pekko.persistence.typed.EventSourcedBehaviorLoggingSpec$ChattyEventSourcingBehavior$$$Lambda/0x00007f1aa03e53b0 instead of e.g. class org.apache.pekko.persistence.typed.EventSourcedBehaviorLoggingSpec$ChattyEventSourcingBehavior$$$Lambda$523/0x000000080053e040

Fixes apache#1521

It appears on JDK21 the lambda class is called e.g. `class org.apache.pekko.persistence.typed.EventSourcedBehaviorLoggingSpec$ChattyEventSourcingBehavior$$$Lambda/0x00007f1aa03e53b0` instead of e.g. `class org.apache.pekko.persistence.typed.EventSourcedBehaviorLoggingSpec$ChattyEventSourcingBehavior$$$Lambda$523/0x000000080053e040`
Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

lgtm

@raboof raboof merged commit 107c17f into apache:main Oct 8, 2024
9 checks passed
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.

EventSourcedBehaviorLoggingSpec test fails regularly
2 participants