Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.

Commit 8570709

Browse files
committed
submit for GF bug 24659612
svn path=/branches/javax.servlet.jsp-2.2.5/; revision=1505
1 parent 3e7b003 commit 8570709

2 files changed

Lines changed: 4 additions & 54 deletions

File tree

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<modelVersion>4.0.0</modelVersion>
5151
<groupId>org.glassfish.web</groupId>
5252
<artifactId>javax.servlet.jsp</artifactId>
53-
<version>2.2.5</version>
53+
<version>2.2.5-b01</version>
5454
<packaging>jar</packaging>
5555
<name>JSP implementation</name>
5656

@@ -99,9 +99,9 @@
9999
</mailingList>
100100
</mailingLists>
101101
<scm>
102-
<connection>scm:svn:https://svn.java.net/svn/jsp~svn/tags/javax.servlet.jsp-2.2.5</connection>
103-
<developerConnection>scm:svn:https://svn.java.net/svn/jsp~svn/tags/javax.servlet.jsp-2.2.5</developerConnection>
104-
<url>http://java.net/projects/jsp/sources/svn/show/tags/javax.servlet.jsp-2.2.5</url>
102+
<connection>scm:svn:https://svn.java.net/svn/jsp~svn/tags/javax.servlet.jsp-2.2.5-b01</connection>
103+
<developerConnection>scm:svn:https://svn.java.net/svn/jsp~svn/tags/javax.servlet.jsp-2.2.5-b01</developerConnection>
104+
<url>http://java.net/projects/jsp/sources/svn/show/tags/javax.servlet.jsp-2.2.5-b01</url>
105105
</scm>
106106

107107
<build>

src/main/java/org/apache/jasper/runtime/JspRuntimeLibrary.java

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -101,35 +101,6 @@ public class JspRuntimeLibrary {
101101
private static final String JSP_EXCEPTION
102102
= "javax.servlet.jsp.jspException";
103103

104-
protected static class PrivilegedIntrospectHelper
105-
implements PrivilegedExceptionAction<Object> {
106-
107-
private Object bean;
108-
private String prop;
109-
private String value;
110-
private ServletRequest request;
111-
private String param;
112-
private boolean ignoreMethodNF;
113-
114-
PrivilegedIntrospectHelper(Object bean, String prop,
115-
String value, ServletRequest request,
116-
String param, boolean ignoreMethodNF)
117-
{
118-
this.bean = bean;
119-
this.prop = prop;
120-
this.value = value;
121-
this.request = request;
122-
this.param = param;
123-
this.ignoreMethodNF = ignoreMethodNF;
124-
}
125-
126-
public Object run() throws JasperException {
127-
internalIntrospecthelper(
128-
bean,prop,value,request,param,ignoreMethodNF);
129-
return null;
130-
}
131-
}
132-
133104
/**
134105
* Returns the value of the javax.servlet.error.exception request
135106
* attribute value, if present, otherwise the value of the
@@ -339,27 +310,6 @@ public static void introspecthelper(Object bean, String prop,
339310
String value, ServletRequest request,
340311
String param, boolean ignoreMethodNF)
341312
throws JasperException
342-
{
343-
if (Constants.IS_SECURITY_ENABLED) {
344-
try {
345-
PrivilegedIntrospectHelper dp =
346-
new PrivilegedIntrospectHelper(
347-
bean,prop,value,request,param,ignoreMethodNF);
348-
AccessController.doPrivileged(dp);
349-
} catch( PrivilegedActionException pe) {
350-
Exception e = pe.getException();
351-
throw (JasperException)e;
352-
}
353-
} else {
354-
internalIntrospecthelper(
355-
bean,prop,value,request,param,ignoreMethodNF);
356-
}
357-
}
358-
359-
private static void internalIntrospecthelper(Object bean, String prop,
360-
String value, ServletRequest request,
361-
String param, boolean ignoreMethodNF)
362-
throws JasperException
363313
{
364314
Method method = null;
365315
Class type = null;

0 commit comments

Comments
 (0)