javah generates incorrectly named header and stub file from a class name with an "_" in it.
Steps to Reproduce
Compile the attached code
run javah Native_Test2
run javah -stubs Native_Test2
// note: files created are Native_0005fTest2.h and Native_0005fTest2.c
public class Native_Test2
{
int i;
char c;
public native void Test_Me();
}
This doesn't appear to be fixed in 1.0.2...
Steps to Reproduce
Compile the attached code
run javah Native_Test2
run javah -stubs Native_Test2
// note: files created are Native_0005fTest2.h and Native_0005fTest2.c
public class Native_Test2
{
int i;
char c;
public native void Test_Me();
}
This doesn't appear to be fixed in 1.0.2...