[Bug java/29044] New: Libiberty demangler can not handle new Java mangling.

drow at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 12 21:33:00 GMT 2006


In earlier versions of GCJ this:
public class jmain
{
  public static void main (String[] args)
    {
        return;
    }
}

Was mangled to:
  _ZN5jmain4mainEP6JArrayIPN4java4lang6StringEE

Now it is mangled to:
  _ZN5jmain4mainEJvP6JArrayIPN4java4lang6StringEE

(Including Jv, for a void return type).

This can't be properly demangled (use a current c++filt -s java):
  jmain.main(java.lang.String[])void

I am assuming the mangling change was deliberate.  If so, the demangler should
be updated.


-- 
           Summary: Libiberty demangler can not handle new Java mangling.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drow at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list