ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Problem: javah task and Sun j2sdk 1.4.2. beta (Windows)
Date Fri, 20 Jun 2003 11:46:28 GMT
This problem is fixed in ant 1.6alpha (nightly builds).
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18667
You can download a nightly build from :
http://cvs.apache.org/builds/ant/nightly/
Cheers.
Antoine
----- Original Message -----
From: "Rutger Hofman" <rutger@cs.vu.nl>
To: "Ant Users List" <user@ant.apache.org>
Sent: Friday, June 20, 2003 12:31 PM
Subject: Problem: javah task and Sun j2sdk 1.4.2. beta (Windows)


> When I try to run a javah task with the most recent SUN Windows jdk
> (j2sdk 1.4.2 beta) it turns out that the API of com.sun.tools.javah.Main
> has changed. The javah task requires this constructor:
>
>    public com.sun.tools.javah.Main(java.lang.String[]);
>
> which seems to have disappeared:
>
>    C:\TEMP>javap com.sun.tools.javah.Main
>    Compiled from "Main.java"
>    public class com.sun.tools.javah.Main extends java.lang.Object{
>        public com.sun.tools.javah.Main();
>        public static void main(java.lang.String[]);
>    }
>
> The SUN j2sdk 1.4.1 on Linux does report the required method:
>
>    % javap com.sun.tools.javah.Main
>    public class com.sun.tools.javah.Main extends java.lang.Object {
>        com.sun.tools.javah.Gen g;
>        public static void main(java.lang.String[]);
>        public com.sun.tools.javah.Main(java.lang.String[]);  <<<-----
>        public void run();
>    }
>
> Is this a SUN bug? It is a beta, after all.
> Or should the javah task avoid the non-public
> com.sun.tools.javah classes?
>
> Rutger Hofman
> VU Amsterdam
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



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


Mime
View raw message