On 12/13/06, Kevin Jackson <[EMAIL PROTECTED]> wrote:
> Hi
>
> Could those tests be please be written in such way that these will not
> fail / error under jdk 1.5 or lower?
There is no support from the runtime for this functionality pre java6,
so there is no way that these can perform as expected on lower jvms.
The antunit tests can check for the existance of the required
classes/methods.
for example in src/tests/antunit/core/uuencode/uuencode-test.xml
the following is used:
<available property="sun.uudecode.avail" classname="sun.misc.UUDecoder"/>
<target name="define" if="sun.uudecode.avail">
<mkdir dir="${classes.dir}"/>
..
..
<target name="test-simple" depends="define" if="sun.uudecode.avail">
Peter
Peter
>
> And do you feel 100% comfortable in adding this while working on the
> release candidates?
>
Not 100% no, but since stuff is being added elsewhere (scripting,
Resources etc), it seems we are not in a real release candidate stage
right now.
If there is a -1, I'll remove this immediately. Right now people have
correctly pointed out flaws in the original implementation which I've
tried to correct, and there's a problem with StringUtils now using
regexps, which I'm going to work on this morning, but so far, no one
has vetoed
Thanks
Kev
---------------------------------------------------------------------
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]