You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/08/15 14:26:01 UTC
DO NOT REPLY [Bug 30676] New: -
[configuration] setting non-string values in DatabaseConfiguration always throws ClassCastException
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30676>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30676
[configuration] setting non-string values in DatabaseConfiguration always throws ClassCastException
Summary: [configuration] setting non-string values in
DatabaseConfiguration always throws ClassCastException
Product: Commons
Version: 1.0 Alpha
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Configuration
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: ricardo.gladwell@btinternet.com
It would seem that setting any non-string configuration property with a
DatabaseConfiguration object always throws ClassCastException. I have only
experienced this issue with Boolean values, but examining the code it would seem
that the class makes an explicit cast to type String for all set actions. See
patch for test case.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org