I tried to build Ant with the new JDK 1.4.2 and had a compile error while building the javah task. It appears the interface to javah has changed. I believe the old interface is still available via the sub-package oldjavah (I modified the javah source to use this package and the build completed).
*** This bug has been marked as a duplicate of 18667 ***