Skip to content

Update bytebuddy to ver1.17 to support Java 25 #1267

@saito-yu-ppcd

Description

@saito-yu-ppcd

Hi team, I'd like to request to update bytebuddy version to ver 1.17 to support Java 25.

Describe the bug
When deploying a Java pod which uses Java 25 and contains this agent, we got the following error:

[otel.javaagent] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Failed to handle java.util.stream.SortedOps for transformation on class loader null
java.lang.IllegalArgumentException: Java 25 (69) is not supported by the current version of Byte Buddy which officially supports Java 24 (68) - update Byte Buddy or set net.bytebuddy.experimental as a VM property

Steps to reproduce
When we deploy pods based on Java 25 and install this agent to the pods, we get this error.

What did you expect to see?
This agent works properly.

What did you see instead?
We got the above error.

Additional context
According to the bytebuddy official page, it supports Java 25 with ver 1.17 and above.
https://github.com/raphw/byte-buddy?tab=readme-ov-file#java-version-compatibility
If this agent doesn't support Java 25 and support only specified Java versions, please tell me that.
I also checked OpenTelemetry for Java documentation page, but there is no supported Java version specification, too.
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions