[Bug java/19742] New: gcjh shouldn't mangle names in JNI output.

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 1 16:28:00 GMT 2005


A java class has this:

    public static final int delete = 555;

gcjh will correctly mangle the name delete (to delete$) for CNI header output. 
However, it also does this when generating JNI output (with gcjh -jni).  We get
output link this, and it is wrong:

#undef foo_delete$
#define foo_delete$ 555L

This should be just "foo_delete".  This is preventing the subversion JNI code
from building.

-- 
           Summary: gcjh shouldn't mangle names in JNI output.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19742



More information about the Java-prs mailing list