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

Duct: investigate classpath extraction #701

Open
therealryan opened this issue Jan 23, 2024 · 0 comments
Open

Duct: investigate classpath extraction #701

therealryan opened this issue Jan 23, 2024 · 0 comments
Labels
java Pull requests that update Java code

Comments

@therealryan
Copy link
Collaborator

When we're asked to serve a report using duct, we might have to launch a new instance of it. This means spawning a new JVM with the same classpath as the current one. It's surprisingly difficult to reliably find the current VM's classpath, especially in the context of tests running via maven.

RuntimeMXBean seems to offer direct access to the current classpath - let's take a look at that to see if it's any simpler than the current approach.

@therealryan therealryan added the java Pull requests that update Java code label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

1 participant