ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rutger Hofman <rut...@cs.vu.nl>
Subject Problem: javah task and Sun j2sdk 1.4.2. beta (Windows)
Date Fri, 20 Jun 2003 10:31:30 GMT
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


Mime
View raw message