http://nagoya.apache.org/bugzilla/show_bug.cgi?id=904
*** shadow/904 Mon Mar 12 05:58:46 2001 --- shadow/904.tmp.29001 Mon Mar 12 06:02:00 2001 *************** *** 2,8 **** | Reading System Properties may return Objects | +----------------------------------------------------------------------------+ | Bug #: 904 Product: Ant | ! | Status: NEW Version: 1.2 | | Resolution: Platform: All | | Severity: Normal OS/Version: All | | Priority: High Component: Core | --- 2,8 ---- | Reading System Properties may return Objects | +----------------------------------------------------------------------------+ | Bug #: 904 Product: Ant | ! | Status: RESOLVED Version: 1.2 | | Resolution: Platform: All | | Severity: Normal OS/Version: All | | Priority: High Component: Core | *************** *** 94,96 **** --- 94,108 ---- ---------------------------------- String value = (String) systemP.get(name); ---------------------------------- + + + ------- Additional Comments From [EMAIL PROTECTED] 2001-03-12 06:01 ------- + Actually the javadoc for Properties says "Each key and its corresponding value + in the property list is a string.", and I always thought (without looking at the + source) that Properties would override put to make sure you cannot insert + something else. + + I'll apply the patch that uses .toString instead of the cast - that way Objects + living in system properties might even yield some reasonable result. + + Should be fixed in nightly build 2001-03-13. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
