commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30676] New: - [configuration] setting non-string values in DatabaseConfiguration always throws ClassCastException
Date Sun, 15 Aug 2004 12:26:01 GMT
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


Mime
View raw message