openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1680108 - /openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
Date Mon, 18 May 2015 21:32:46 GMT
Author: rmannibucau
Date: Mon May 18 21:32:46 2015
New Revision: 1680108

URL: http://svn.apache.org/r1680108
Log:
loading org.apache.jasper.compiler.JspRuntimeContext with container loader

Modified:
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java?rev=1680108&r1=1680107&r2=1680108&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
Mon May 18 21:32:46 2015
@@ -230,8 +230,8 @@ public final class WebContainerLifecycle
         if (factory == null)
         {
             try
-            {
-                Class.forName("org.apache.jasper.compiler.JspRuntimeContext");
+            {   // no need of using the tccl since in OSGi it is init elsewhere and using
container shortcut can just make it faster
+                Class.forName("org.apache.jasper.compiler.JspRuntimeContext", true, WebContainerLifecycle.class.getClassLoader());
                 factory = JspFactory.getDefaultFactory();
             }
             catch (Exception e)



Mime
View raw message