-
Notifications
You must be signed in to change notification settings - Fork 205
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
Java 18 support for Java Agent 3.3.0 #2390
Comments
Looking at build.gradle.kts it looks like byte buddy 1.12.10 is being pulled in, which includes objectweb asm 9.3 so Java 18 should then be supported. |
thx for reporting this! we'll add Java 18 to our smoke tests (#2391), it does look like there's some issue that we'll need to track down |
hi @petergphillips! this is resolved now by #2391 and will be in the upcoming 3.3.1 release |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have a number of Java 18 spring boot projects (Spring Boot v2.7.1, Spring v5.3.21) that we've been running successfully with the Java Agent 3.2.11.
We've just tried upgrading to the latest java agent - 3.3.0 but have found that, although the application started up correctly, no data is written to application insights.
By setting
selfDiagnostics
toDEBUG
there are then lots of errors in the logs similar toI've tried running the java agent 3.3.0 with Java 17 for our project and it pushes successfully to application insights, so it looks like an incompatibility with Java 18 has been introduced when moving to the java agent 3.3.0 from 3.2.11.
One odd thing is that objectweb asm has supported Java 18 for over a year now and that the latest version of bytebuddy (9.3) pulls in that latest version.
I can't find anything in the release notes / documentation either to suggest that Java 18 isn't supported, just that Java 8+ is supported. Java 18 was released in March 2022 so I was therefore expecting it to be a supported environment.
The text was updated successfully, but these errors were encountered: