Stefan Bodewig wrote:

On 28 Oct 2004, <[EMAIL PROTECTED]> wrote:



fix for previous fix - use getProperty() and not get()



What if the keys/values are not Strings?


In this case, the "properties" are from System.getProperties() and not from
Project.getProperties().... so they are strings.

The issue is that System.getProperties().get() was used rather that System.getProperties().getProperty()
get() may bypass the default resolving logic in the jdk (looking at the code, this seems to be the
case)


Peter

There must be a very old bug lurking in Bugzilla that was resolved by
not assuming that the Ant properties table only contains Strings.

I'm not sure whether the system properties table gets abused in a
similar way by anybody.  If so, this is a backwards incompatible
change, I guess.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to