costin 01/09/06 21:39:31 Modified: src/share/org/apache/jasper/runtime PageContextImpl.java Log: Fix for 3307, thanks to [EMAIL PROTECTED] for filling the bug _and_ making sure it is fixed by reopening it with a quote from spec :-) Submitted by: [EMAIL PROTECTED] Revision Changes Path 1.22 +2 -0 jakarta-tomcat/src/share/org/apache/jasper/runtime/PageContextImpl.java Index: PageContextImpl.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/PageContextImpl.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- PageContextImpl.java 2001/09/01 00:41:21 1.21 +++ PageContextImpl.java 2001/09/07 04:39:31 1.22 @@ -271,6 +271,7 @@ break; default: + throw new IllegalArgumentException( "Invalid scope " + scope ); } } @@ -298,6 +299,7 @@ break; default: + throw new IllegalArgumentException( "Invalid scope " + scope ); } }