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

Chaosblade jvm-sandbox support for JDK17 #1001

Open
harigg opened this issue Feb 7, 2024 · 1 comment
Open

Chaosblade jvm-sandbox support for JDK17 #1001

harigg opened this issue Feb 7, 2024 · 1 comment
Assignees
Labels
type/feature Category issues or prs related to feature request.
Milestone

Comments

@harigg
Copy link

harigg commented Feb 7, 2024

Issue Description

Does the jvm-sandbox now support JDK 17. We are using chaosblade-jvm-agent for our chaos injections with jdk 8 and 11 but had to recently migrate our services to jdk 17 and from then on the attacks are not working.

Type: question

Describe what happened (or what feature you want)

When we attach the agent to the running jvm it works fine. But when we initiate a tomcatjdbc attack, the same is received by the jvm but it does nothing. When we look at the detailed logs, the enhancers are not getting loaded.

Describe what you expected to happen

The attack should work fine as it does in jdk 8/11

How to reproduce it (as minimally and precisely as possible)

  1. Try to attach agent to a java application running on jdk17
  2. initiate a tomcatjdbc close connection attack
  3. check the logs to see if the attack did close the connection and exception was thrown

Tell us your environment

OS : Macos
JDK : 17(Azul Zulu)

Anything else we need to know?

@xcaspar
Copy link
Member

xcaspar commented Jul 24, 2024

Planned to support by the end of August.

@xcaspar xcaspar added the type/feature Category issues or prs related to feature request. label Jul 24, 2024
@xcaspar xcaspar self-assigned this Jul 24, 2024
@xcaspar xcaspar added this to the v1.8.0 milestone Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Category issues or prs related to feature request.
Projects
None yet
Development

No branches or pull requests

2 participants