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 Wed, 22 Sep 2010 16:19:36 GMT

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

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

Sebb,

have a lot at this file:http://svn.apache.org/repos/asf/jakarta/taglibs/deprecated/input/trunk/src/org/apache/taglibs/input/Util.java
from line 160. The generic retrieval fails since the class itself ist not public. Reader cannot
be invoked on that instance.
This taglib is deprecated but works flawlessly for my projects.

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