public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "russ at eatnumber1 dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/43369]  New: gcjh's CNI text options don't work
Date: Sun, 14 Mar 2010 20:33:00 -0000	[thread overview]
Message-ID: <bug-43369-18914@http.gcc.gnu.org/bugzilla/> (raw)

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	other threads:[~2010-03-14 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 20:33 russ at eatnumber1 dot com [this message]
2010-03-17 21:46 ` [Bug java/43369] " tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-43369-18914@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).