java/5365: gcjh -stubs does not include correct files

nallen@freenet.co.uk nallen@freenet.co.uk
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
>Closed-Date:
>Last-Modified:
>Originator:     Nicholas Allen
>Release:        3.0.3
>Organization:
>Environment:
Linux
>Description:
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/Object.cc 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. 
>How-To-Repeat:
gcj -stubs java.lang.Object
>Fix:
It should generate #include <java/lang/Object.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list