tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: svn commit: r667604 - /tomcat/trunk/java/org/apache/catalina/session/StandardSession.java
Date Fri, 13 Jun 2008 18:14:56 GMT
hi Mark,
can you please update the changelog

thanks
Filip

markt@apache.org wrote:
> Author: markt
> Date: Fri Jun 13 10:43:51 2008
> New Revision: 667604
>
> URL: http://svn.apache.org/viewvc?rev=667604&view=rev
> Log:
> Fix bug 45195. NPE when calling getAttribute(null).
> The spec is unclear but this is a regression from 5.0.x
>
> Modified:
>     tomcat/trunk/java/org/apache/catalina/session/StandardSession.java
>
> Modified: tomcat/trunk/java/org/apache/catalina/session/StandardSession.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/StandardSession.java?rev=667604&r1=667603&r2=667604&view=diff
> ==============================================================================
> --- tomcat/trunk/java/org/apache/catalina/session/StandardSession.java (original)
> +++ tomcat/trunk/java/org/apache/catalina/session/StandardSession.java Fri Jun 13 10:43:51
2008
> @@ -1032,6 +1032,8 @@
>              throw new IllegalStateException
>                  (sm.getString("standardSession.getAttribute.ise"));
>  
> +        if (name == null) return null;
> +
>          return (attributes.get(name));
>  
>      }
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>
>   


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


Mime
View raw message