This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/5365: gcjh -stubs does not include correct files
- From: nallen at freenet dot co dot uk
- To: gcc-gnats at gcc dot gnu dot org
- Date: 12 Jan 2002 20:42:47 -0000
- Subject: java/5365: gcjh -stubs does not include correct files
- Reply-to: nallen at freenet dot co dot uk
>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: