On 2012-03-13, Greg Brown wrote: > The other day I noticed that, when run under Java 6, the <javah> task > only produces headers for explicitly named classes. However, under > Java 7, <javah> generates headers for the named classes as well as any > nested or inner classes defined by those classes, regardless of > whether the nested classes actually define any native methods.
> Was this change intentional? The implementation of Ant's javah task doesn't even check which version of Java you are using. If this is a change, it is within the JDK, not Ant. I can't seem to find any reference to that change, though. If you run Ant -verbose it should give you the literal command line it passes to javah. I wouldn't expect it to contain your nested classes. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org