shawnweeks commented on a change in pull request #32: ATLAS-3092: Atlas Plugin 
ClassLoader Doesn't Restore Thread ClassLoader
URL: https://github.com/apache/atlas/pull/32#discussion_r268901348
 
 

 ##########
 File path: 
plugin-classloader/src/main/java/org/apache/atlas/plugin/classloader/AtlasPluginClassLoader.java
 ##########
 @@ -206,7 +209,7 @@ public void activate() {
         if (LOG.isDebugEnabled()) {
             LOG.debug("==> AtlasPluginClassLoader.activate()");
         }
-
+        previousLoader = Thread.currentThread().getContextClassLoader();
 
 Review comment:
   I wonder if it would be safe to save it on a per thread basis then?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to