ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albrecht, Matt" <matt.albre...@zilliant.com>
Subject [PATCH] JDK 1.2 compatibility for EchoProperties
Date Wed, 27 Mar 2002 22:46:26 GMT

Since I'm the original poster of the EchoProperties optional task, I'm
taking responsibility for an earlier post indicating that the JDK1.2 method
"store" on java.util.Properties should be invoked if JDK 1.2 is running,
through reflection.

So, here's the patch.  I hope it's up to the usual standards :-).  I've also
improved the java-doc to clarify some of the methods.

As far as I can tell, there is no need for additional tests based on my
changes, as it adds no new functionaly.  I ran the tests locally on JDK
1.1.8, JDK 1.2.2, JDK 1.3.1_02, and JDK 1.4.0.  JDK 1.2.2 gave a false
negative for to-log output.

Enjoy!

-Matt Albrecht


Mime
View raw message