Re: securityManager in JasperLoader.java

2003-07-30 Thread jean-frederic clere
Jean-Francois Arcand wrote: Hi Jean-Frederic, the current source have: Right: +++ [EMAIL PROTECTED]:~/jakarta-tomcat-jasper more CVS/Tag Ttomcat_4_branch +++ Should I port back the correction to the tomcat_4_branch? Cheers Jean-Frederic int dot = name.lastIndexOf('.'); if

securityManager in JasperLoader.java

2003-07-29 Thread jean-frederic clere
Hi, One of my colleague has problems in JasperLoader.java: The System.getSecurityManager() is null when creating the class but not null later on. Why do we have the following code? (from jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JasperLoader.java): +++ if

Re: securityManager in JasperLoader.java

2003-07-29 Thread Jean-Francois Arcand
Hi Jean-Frederic, the current source have: int dot = name.lastIndexOf('.'); if (securityManager != null) { if (dot = 0) { try { // Do not call the security manager since by default, we grant that package. if