When a inner class such as O$I.class and a regular class such as O_I.class both exist, javah generates O_I.h for both. The one generated later replaces the earlier one. It also does not handle the fields properly for O_I.class and O$I.class if both have same named fields. The generated field constant names are the same in the jni header file.
- duplicates
-
JDK-8314195 javac -h can't handle multiple headers with same name
-
- Closed
-