tiles-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TILES-328) Cast to ServletContext instead of using reflection
Date Tue, 02 Dec 2008 12:50:36 GMT

     [ https://issues.apache.org/struts/browse/TILES-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antonio Petrelli resolved TILES-328.
------------------------------------

       Resolution: Implemented
    Fix Version/s: 2.1.1

The fix has been implemented in TILES-334.

> Cast to ServletContext instead of using reflection
> --------------------------------------------------
>
>                 Key: TILES-328
>                 URL: https://issues.apache.org/struts/browse/TILES-328
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.4
>            Reporter: Eddy Chan
>            Assignee: Antonio Petrelli
>             Fix For: 2.1.1
>
>
> In org.apache.tiles.access.TilesAccess.get/set/removeAttribute, instead of using reflection
to call the methods, cast the context object to a ServletContext and then call the methods
directly.  This reduces the chance of having a SecurityException occur, since the ServletContext
interface for these methods are public, but the specific context may not be reflectable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message