DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13138>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13138

Compliance issue.  PageContext.setAttribute(String, Object, int) fails to throw an 
IllegalArgumentException if provide an invalid scope.

           Summary: Compliance issue.  PageContext.setAttribute(String,
                    Object, int) fails to throw an IllegalArgumentException
                    if provide an invalid scope.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Per the Javadocs, PageContext.setAttribute(String, Object, int)
must throw an IllegalArgumentException if provided an invalid scope.

I looked at o.a.j.runtime.PageContextImpl and found that the default case in the
switch does nothing when it should throw an IllegalArgumentException.

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

Reply via email to