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]



Reply via email to