ncliang opened a new pull request #10475:
URL: https://github.com/apache/kafka/pull/10475


   The default implementation, which is inheritted from ClassLoader, searches 
the
   classloader tree from parent first. This causes issues when the resource is
   available both on the classpath and the plugin path. Instead of attempting to
   load the resource from plugin path first, the system classloader is consulted
   first and loads the resource from classpath.
   
   A testcase is added in PluginsTest to verify this behavior is fixed by this
   commit.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to