Author: cziegeler
Date: Thu Mar 11 08:38:42 2010
New Revision: 921723
URL: http://svn.apache.org/viewvc?rev=921723&view=rev
Log:
SLING-1435 : After a NoClassDefError classes are still not found even if they
have been installed in the meantime with Java 6 - remove workaround
Modified:
sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/servlet/JspServletWrapper.java
Modified:
sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/servlet/JspServletWrapper.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/servlet/JspServletWrapper.java?rev=921723&r1=921722&r2=921723&view=diff
==============================================================================
---
sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/servlet/JspServletWrapper.java
(original)
+++
sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/jasper/servlet/JspServletWrapper.java
Thu Mar 11 08:38:42 2010
@@ -399,14 +399,6 @@ public class JspServletWrapper {
(HttpServletResponse.SC_SERVICE_UNAVAILABLE,
ex.getMessage());
} catch (ServletException ex) {
- // WORKAROUND for SLING-1435
- // To create a new classloader which reloads the class
- // we simply remove the old class!
- if ( ex.getRootCause() instanceof NoClassDefFoundError ) {
- this.setReload(true);
- this.ctxt.getCompiler().removeGeneratedClassFiles();
- this.lastModificationTest = 0;
- }
throw handleJspException(ex);
} catch (IOException ex) {
throw handleJspException(ex);