java/5365: gcjh -stubs does not include correct files
Sat Jan 12 12:46:00 GMT 2002

>Number:         5365
>Category:       java
>Synopsis:       gcjh -stubs does not include correct files
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 12 12:46:00 PST 2002
>Originator:     Nicholas Allen
>Release:        3.0.3
When gcjh -stubs is used the stubs file generates the wrong include statements. For example, if you use gcjh -stubs on java.lang.Object it generates a java/lang/ and a java/lang/Object.h file which includes the header file using #include <java.lang.Object.h>. The correct include should be #include <java/lang/Object.h>. It also does not include the gcj/cni.h file.

The stub functions also have JvFail in them and I can't find any references to this function in gcj/cni.h. 
gcj -stubs java.lang.Object
It should generate #include <java/lang/Object.h>

More information about the Gcc-bugs mailing list