ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18667] - javah module no longer works with Java 1.4.2
Date Mon, 07 Apr 2003 21:18:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18667>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18667

javah module no longer works with Java 1.4.2





------- Additional Comments From jallers@advancedreality.com  2003-04-07 21:18 -------
It looks like javah is now implemented as a doclet. I don't think any of the
arguments hava changed.

com.sun.tools.javah.Main no longer is constructed with the arguments to run against.

The new implementation has a no arg constructor. The new main method verifies
the arguments, appends to more arguments for javadoc("-private" and "-Xclasses",
and invokes javadoc with the following command,

com.sun.tools.javadoc.Main.execute(
    "javadoc",
    "com.sun.tools.javah.MainDoclet",
    args1);

"com.sun.tools.javah.MainDoclet" does not appear to invoke System.exit, and I
think the execute method of com.sun.tools.javadoc.Main will not call System.exit.

I think invoking javadoc with the javah doclet it the way to go for 1.4.2.

Mime
View raw message