2han9wen71an commented on PR #448:
URL: https://github.com/apache/skywalking-java/pull/448#issuecomment-1416659096

   > BTW, could you draw some graphs to help me understanding the new VS old 
class loader workflow? I don't have enough background knowledge about osgi
   Figure `classloaderA` for bundle custom class loader, it can be adjusted by 
the parameter `org.osgi.framework.bundle.parent` to load the parent class as 
`boot` or `app`, but the class in the parent class loader is not able to get 
the class loaded by the child class loader, will lead to `Jedis` can not get
   
![A1AE4A5BF7EBF29F70372F766682603A](https://user-images.githubusercontent.com/22495231/216748699-6910a18e-2a23-409a-b335-410a82d64a24.png)
   So I made an adjustment and set the bundle class loader to be the `parent` 
of the `AgentClassLoader`, which solves the problem
   
![4366CC8225A5D7FBAA3EC018DDD59DB4](https://user-images.githubusercontent.com/22495231/216748705-395efa24-1deb-4928-b3d9-a6f2fa1ec3d6.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to