public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/15411] New: gcjh not aware of "miranda" methods
@ 2004-05-13  1:42 mckinlay at redhat dot com
  2004-05-13  1:44 ` [Bug java/15411] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mckinlay at redhat dot com @ 2004-05-13  1:42 UTC (permalink / raw)
  To: java-prs

"Miranda methods" occur when an abstract class inherits a declaration from an
interface but does not redeclare or define that method.

When this occurs, gcj emits a vtable entry into the abstract class so that
virtual calls to the method, made on the abstract class, can work correctly.

gcjh is not aware of this, however, and the .h file it generates is inconsistent
with the vtable emitted by gcj.

-- 
           Summary: gcjh not aware of "miranda" methods
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckinlay at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


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

* [Bug java/15411] gcjh not aware of "miranda" methods
  2004-05-13  1:42 [Bug java/15411] New: gcjh not aware of "miranda" methods mckinlay at redhat dot com
@ 2004-05-13  1:44 ` pinskia at gcc dot gnu dot org
  2004-05-13  1:44 ` mckinlay at redhat dot com
  2004-07-05 17:28 ` [Bug java/15411] CNI: " mckinlay at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13  1:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-13 01:44 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-13 01:44:21
               date|                            |
            Version|unknown                     |3.5.0


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


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

* [Bug java/15411] gcjh not aware of "miranda" methods
  2004-05-13  1:42 [Bug java/15411] New: gcjh not aware of "miranda" methods mckinlay at redhat dot com
  2004-05-13  1:44 ` [Bug java/15411] " pinskia at gcc dot gnu dot org
@ 2004-05-13  1:44 ` mckinlay at redhat dot com
  2004-07-05 17:28 ` [Bug java/15411] CNI: " mckinlay at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mckinlay at redhat dot com @ 2004-05-13  1:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-05-13 01:44 -------
Created an attachment (id=6271)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6271&action=view)
Test case

This test case demonstrates the problem.

-- 


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


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

* [Bug java/15411] CNI: gcjh not aware of "miranda" methods
  2004-05-13  1:42 [Bug java/15411] New: gcjh not aware of "miranda" methods mckinlay at redhat dot com
  2004-05-13  1:44 ` [Bug java/15411] " pinskia at gcc dot gnu dot org
  2004-05-13  1:44 ` mckinlay at redhat dot com
@ 2004-07-05 17:28 ` mckinlay at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mckinlay at redhat dot com @ 2004-07-05 17:28 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-07-05 17:28 -------
See this thread for more info, and a workaround:

http://gcc.gnu.org/ml/java/2004-05/msg00094.html

-- 


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


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

end of thread, other threads:[~2004-07-05 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13  1:42 [Bug java/15411] New: gcjh not aware of "miranda" methods mckinlay at redhat dot com
2004-05-13  1:44 ` [Bug java/15411] " pinskia at gcc dot gnu dot org
2004-05-13  1:44 ` mckinlay at redhat dot com
2004-07-05 17:28 ` [Bug java/15411] CNI: " mckinlay at redhat dot com

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