public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/43369]  New: gcjh's CNI text options don't work
@ 2010-03-14 20:33 russ at eatnumber1 dot com
  2010-03-17 21:46 ` [Bug java/43369] " tromey at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: russ at eatnumber1 dot com @ 2010-03-14 20:33 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug java/43369] gcjh's CNI text options don't work
  2010-03-14 20:33 [Bug java/43369] New: gcjh's CNI text options don't work russ at eatnumber1 dot com
@ 2010-03-17 21:46 ` tromey at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2010-03-17 21:46 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2010-03-17 21:46 -------
I tried it and it works fine with svn head.
Make sure to rm a.h before trying with different flags.
Or, use -force.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-17 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14 20:33 [Bug java/43369] New: gcjh's CNI text options don't work russ at eatnumber1 dot com
2010-03-17 21:46 ` [Bug java/43369] " tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).