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" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to