[
https://issues.apache.org/jira/browse/DBUTILS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913657#action_12913657
]
Michael Osipov commented on DBUTILS-72:
---------------------------------------
Why do you think so? I have wrapped this map into a CaseInsensitiveMap of
Commons Collections and it worked perfectly. In my opinion, it is the private
modifier. The taglib should set privateClass.setAccessable(true) but this is a
dirty workaround.
> 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.