javah

Greg Brown greg.x.brown at oracle.com
Mon Mar 12 11:29:00 PDT 2012


Hi all,

Has the behavior of javah changed in Java 7? I'm using the <javah> task in Ant to generate some JNI headers. When I run my Ant script under Java 6, I only get headers for classes I explicitly specify. Under Java 7, I get headers for all of my specified classes as well as any nested classes defined by those classes, even though the nested classes themselves don't specify any native methods.

I'm not sure if Ant or javah is responsible for the change, but if it is javah - is this intentional, or is it a bug?

Thanks,
Greg



More information about the macosx-port-dev mailing list