public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/1455: gcjh barfs on legal java name usage
@ 2003-05-14 10:43 giovannibajo
  0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-14 10:43 UTC (permalink / raw)
  To: apbianco, ashe, gcc-bugs, gcc-prs, java-prs

Synopsis: gcjh barfs on legal java name usage

State-Changed-From-To: open->closed
State-Changed-By: bajo
State-Changed-When: Wed May 14 10:43:52 2003
State-Changed-Why:
    Fixed. See http://gcc.gnu.org/ml/gcc-bugs/2003-05/msg01146.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1455


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

* java/1455: gcjh barfs on legal java name usage
@ 2000-12-20 12:28 ashe
  0 siblings, 0 replies; 2+ messages in thread
From: ashe @ 2000-12-20 12:28 UTC (permalink / raw)
  To: java-gnats

>Number:         1455
>Category:       java
>Synopsis:       gcjh barfs on legal java name usage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:20:08 PST 2000
>Closed-Date:    
>Last-Modified:  Thu Nov  4 21:16:00 PST 1999
>Originator:     Steven Ashe
>Release:        2.95.1 and later
>Organization:
>Environment:
linux rh6.0
>Description:
run this legal Java through gcjh:

class Foo {
    public static int  F;

    public void  F() {
    }
}

result is:
static field has same name as method   
>How-To-Repeat:
see "Description"			
>Fix:

>Release-Note:
>Audit-Trail:

Formerly PR gcj/75


From: Tom Tromey <tromey@cygnus.com>
To: Java Gnats Server <java-gnats@sourceware.cygnus.com> 
Cc:  
Subject: gcj/75
Date: 04 Nov 1999 22:20:24 -0700

 Thanks for the report.  This is a known bug.  The problem is that C++
 can't have a method and a field with the same name.
 
 For now, the workaround is "don't do that".
 
 Later, we'd like to change the C++ compiler so we can have an
 attribute which will effectively rename one of the fields.  This
 attribute will also be useful when we want to represent fields with
 non-ASCII characters in their names (there might be another way to do
 that already, but I haven't studied UCN's enough to know if they are
 the right solution for us).
 
 Tom
>Unformatted:


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

end of thread, other threads:[~2003-05-14 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14 10:43 java/1455: gcjh barfs on legal java name usage giovannibajo
  -- strict thread matches above, loose matches on Subject: below --
2000-12-20 12:28 ashe

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).