larryi      00/11/15 06:53:07

  Modified:    src/share/org/apache/jasper/runtime JspRuntimeLibrary.java
  Log:
  Port fix for: Conversion of String to boolean was erroneous
  
  Submitted by: Gareth Morgan <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.6       +4 -4      
jakarta-tomcat/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java
  
  Index: JspRuntimeLibrary.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JspRuntimeLibrary.java    2000/07/25 12:13:53     1.5
  +++ JspRuntimeLibrary.java    2000/11/15 14:53:07     1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java,v 
1.5 2000/07/25 12:13:53 glenn Exp $
  - * $Revision: 1.5 $
  - * $Date: 2000/07/25 12:13:53 $
  + * $Header: 
/home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java,v 
1.6 2000/11/15 14:53:07 larryi Exp $
  + * $Revision: 1.6 $
  + * $Date: 2000/11/15 14:53:07 $
    *
    * ====================================================================
    * 
  @@ -322,7 +322,7 @@
            } else if (t.equals(boolean.class)) {
                boolean[] tmpval = new boolean[values.length];
                for (int i = 0 ; i < values.length; i++)
  -                 tmpval[i] = Boolean.getBoolean (values[i]);
  +                 tmpval[i] = (Boolean.valueOf(values[i])).booleanValue();
                method.invoke (bean, new Object[] {tmpval});
            } else if (t.equals(short.class)) {
                short[] tmpval = new short[values.length];
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to