ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r426648 - /ant/core/trunk/src/main/org/apache/tools/ant/types/PropertySet.java
Date Fri, 28 Jul 2006 19:21:35 GMT
On Fri, 28 Jul 2006, <bodewig@apache.org> wrote:

> avoid NPE in border-cases

      <propertyset>
        <propertyref builtin="system"/>
      </propertyset>

would cause an NPE while trying to add the key
java.net.useSystemProxies.  The problem is that this system property
gets set after we've transfered the system properties to project
properties and thus project.getProperty("java.net.useSystemProxies")
returns null.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message