tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler ImplicitTagLibraryInfo.java
Date Fri, 13 Dec 2002 21:34:56 GMT
kinman      2002/12/13 13:34:56

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        ImplicitTagLibraryInfo.java
  Log:
  - Patch by Mark Roth
  
  ImplicitTagLibraryInfo incorrectly returned null from getFunctions().
  The spec requires a FunctionInfo[0] instead.  Returning null also caused
  Generator.generateELFunctionMap to throw a NPE in some circumstances.
  
  Revision  Changes    Path
  1.16      +6 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
  
  Index: ImplicitTagLibraryInfo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ImplicitTagLibraryInfo.java	28 Nov 2002 04:18:08 -0000	1.15
  +++ ImplicitTagLibraryInfo.java	13 Dec 2002 21:34:56 -0000	1.16
  @@ -101,6 +101,9 @@
   	this.tagFileMap = new Hashtable();
   	this.vec = new Vector();
   
  +        // Implicit tag libraries have no functions:
  +        this.functions = new FunctionInfo[0];
  +
   	tlibversion = TLIB_VERSION;
   	jspversion = JSP_VERSION;
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message