You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Vlastimil Babka <ca...@gentoo.org> on 2006/10/04 11:43:12 UTC

sun.misc.UUEncoder dependency in UUMailer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That class is deprecated in 1.6 JDK and is not present in each JDK (e.g.
kaffe). This results in ant.jar having features based on JDK used to
build it. I've seen Sun's Base64 dependency was already removed in 1.7.0
beta2, which is great. Do you plan to replace UUEncoder too? Would be nice.

- --
Vlastimil Babka (Caster)
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFI4IutbrAj05h3oQRAsuEAJoChJFDyTIKnZf/mxZw5nXCCb2dhQCdE4lC
+LRwut+VyEj1HOE3sKAP8VI=
=1sd4
-----END PGP SIGNATURE-----

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


Re: sun.misc.UUEncoder dependency in UUMailer

Posted by Peter Reilly <pe...@gmail.com>.
On 10/4/06, Vlastimil Babka <ca...@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Peter Reilly wrote:
> > I am looking into this.
>
> Great :)
>
> >> That class is deprecated in 1.6 JDK
> >
> > It is not actually deprecated, it is just that JDK6 whines if one uses
> > any sun.* classes.
> >
>
> Right. "is Sun proprietary API and may be removed in a future release"
>
> >> and is not present in each JDK (e.g.
> >> kaffe). This results in ant.jar having features based on JDK used to
> >> build it. I've seen Sun's Base64 dependency was already removed in 1.7.0
> >> beta2, which is great. Do you plan to replace UUEncoder too? Would be
> >> nice.
> >
> > Do you know any Apache Licence UUEncoder code. I have seen some
> > bsd C code, it looks small and easy to port into java.
>
> Geronimo seems to have something.
> https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/util/

That looks good, I will look into it, thanks.

Peter

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


Re: sun.misc.UUEncoder dependency in UUMailer

Posted by Vlastimil Babka <ca...@gentoo.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Reilly wrote:
> I am looking into this.

Great :)

>> That class is deprecated in 1.6 JDK
> 
> It is not actually deprecated, it is just that JDK6 whines if one uses
> any sun.* classes.
> 

Right. "is Sun proprietary API and may be removed in a future release"

>> and is not present in each JDK (e.g.
>> kaffe). This results in ant.jar having features based on JDK used to
>> build it. I've seen Sun's Base64 dependency was already removed in 1.7.0
>> beta2, which is great. Do you plan to replace UUEncoder too? Would be
>> nice.
> 
> Do you know any Apache Licence UUEncoder code. I have seen some
> bsd C code, it looks small and easy to port into java.

Geronimo seems to have something.
https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/util/

- --
Vlastimil Babka (Caster)
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFI5CAtbrAj05h3oQRAsmgAJ90iTpI/eypWKxef004bqO/UtnrngCfWCFM
aT1qaIRwQv9dhPfIo5OMOD8=
=e3eb
-----END PGP SIGNATURE-----

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


Re: sun.misc.UUEncoder dependency in UUMailer

Posted by Peter Reilly <pe...@gmail.com>.
I am looking into this.

On 10/4/06, Vlastimil Babka <ca...@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> That class is deprecated in 1.6 JDK

It is not actually deprecated, it is just that JDK6 whines if one uses
any sun.* classes.

> and is not present in each JDK (e.g.
> kaffe). This results in ant.jar having features based on JDK used to
> build it. I've seen Sun's Base64 dependency was already removed in 1.7.0
> beta2, which is great. Do you plan to replace UUEncoder too? Would be nice.

Do you know any Apache Licence UUEncoder code. I have seen some
bsd C code, it looks small and easy to port into java.

Peter

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