matthiasblaesing opened a new pull request, #7567:
URL: https://github.com/apache/netbeans/pull/7567

   The classloader was reset after each invocation by calls to 
`resetClassLoaders`, so there is already little caching present here.
   
   The old behavior though posed a different problem: the classloaders were 
shared into multiple threads and calls to `resetClassLoaders` were not 
coordinated, so the "slower" thread could be faced with a closed classloader. 
For an `URLClassLoader` this means, that classes already loaded work, new 
classes can't be loaded. This leads to difficult to debug situations.
   
   At runtime this was observed as:
   
   > Unable to read TLD "META-INF/liferay-portlet-ext.tld" from JAR file 
"file:/home/matthias/.m2/repository/com/liferay/portal/release.portal.api/7.4.3.94-ga94/release.portal.api-7.4.3.94-ga94.jar":
 org.apache.jasper.JasperException: PWC6112: Failed to load or instantiate 
TagExtraInfo class: com.liferay.taglib.portlet.ActionURLTei
   
   Leading to errors reported in JSPs.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to