commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DBUTILS-72) BasicRowProcessor's CaseInsentitiveHashMap does not work with reflection
Date Thu, 23 Sep 2010 07:26:33 GMT

    [ https://issues.apache.org/jira/browse/DBUTILS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913937#action_12913937
] 

Michael Osipov commented on DBUTILS-72:
---------------------------------------

Niall,

thanks for the insight. I guess the guys from the input taglib did not want to rely on any
external libraries. I will patch the appropriate line. At least such information should be
prominent somewhere if people try to access the map through reflection.

> BasicRowProcessor's CaseInsentitiveHashMap does not work with reflection
> ------------------------------------------------------------------------
>
>                 Key: DBUTILS-72
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-72
>             Project: Commons DbUtils
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Michael Osipov
>            Priority: Minor
>
> The map has been declared class private, this causes problems when someone tries to invoke
the get method via reflection. I do use the results in the Jakarta Input Taglib which invokes
the get via reflection and it fails with illegalaccessexception.
> The class has to be made public or decoupled from the row processor.

-- 
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