All of gcjh's -add -append -friend and -prepend don't work.

For example, for the following source file a.java:
public class a {
}

Compiled like so:
gcj -C a.java
gcjh -friend ::java::lang::Number a.class

Results in the following header:
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __a__
#define __a__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
    class a;
}

class a : public ::java::lang::Object
{

public:
  a();
  static ::java::lang::Class class$;
};

#endif // __a__


-- 
           Summary: gcjh's CNI text options don't work
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: russ at eatnumber1 dot com


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

Reply via email to