Skip to content

Fix transforming record types#10052

Merged
trask merged 2 commits into
open-telemetry:mainfrom
laurit:record-visitor
Dec 13, 2023
Merged

Fix transforming record types#10052
trask merged 2 commits into
open-telemetry:mainfrom
laurit:record-visitor

Conversation

@laurit

@laurit laurit commented Dec 12, 2023

Copy link
Copy Markdown
Contributor

Resolves #10046

@laurit
laurit requested a review from a team December 12, 2023 12:54

@trask trask 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.

any thoughts around managing these ASM updates? is there a downside to always using the latest "stable" asm version (if we could determine that or create a shared constant somewhere for it)?

@laurit

laurit commented Dec 13, 2023

Copy link
Copy Markdown
Contributor Author

create a shared constant somewhere for it

Did that, I used the same approach in a previous project and it worked well.
The reasoning behind the api version is described in https://asm.ow2.io/asm4-guide.pdf chapter 5. Using a shared constant kind of goes against the raise an error when in doubt philosophy presented there, but I think for our purposes it will be fine.

@trask
trask merged commit 30ddf6a into open-telemetry:main Dec 13, 2023
heyams pushed a commit to heyams/opentelemetry-java-instrumentation that referenced this pull request Dec 13, 2023
elbiocaetano pushed a commit to elbiocaetano/opentelemetry-java-instrumentation that referenced this pull request Dec 19, 2023
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.

spring boot 3.2/jetty: UnsupportedOperationException: Records requires ASM8

3 participants