Skip to content

Conversation

@bimalc
Copy link

@bimalc bimalc commented Mar 18, 2021

With this change we will be able to attach the agent to a running java process and install all the action and see the messages without have to restart the process.

@attilapiros
Copy link
Owner

Thanks for your contribution! :) This is extremely valuable!

But I have to spend some time with it. This new dependency (com.sun:tools:1.8.0) makes me cautious.

Although I might have a solution. Let me share with you I am very interested about your opinion.
The tools jar is only needed for the AgentLoader, right? What about transforming the project to multi module maven project.
One child project created from the old part containing the instrumenting and logging would still depend on the old dependencies (which is not much). The other child would contain the AgentLoader. Sooner or later we need to make this as meaningful testing only can be done via integration tests. That will be the 3rd child.

WDYT?

@bimalc
Copy link
Author

bimalc commented Mar 19, 2021 via email

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.

2 participants