Skip to content
Discussion options

You must be logged in to vote

Hi @zhanjinhao,

I took a look at your ClassLoader and it seems that since it doesn't implement findResource, resources can only be found in the parent classloader. I believe you can create a much simpler implementation by leveraging URLClassLoader.

I've made some changes to demonstrate this, which also include a check for already-loaded classes and support for parallel-capability. You can review the code here :) I've confirmed that with this approach, app_logs and agent_logs are separated correctly.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zhanjinhao
Comment options

@vy
Comment options

vy Oct 23, 2025
Collaborator

@zhanjinhao
Comment options

Answer selected by zhanjinhao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants