public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/12734] New: gcj verifier doesn't merge interface types correctly
@ 2003-10-22 20:40 tromey at gcc dot gnu dot org
  2003-10-22 20:46 ` [Bug java/12734] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tromey at gcc dot gnu dot org @ 2003-10-22 20:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: gcj verifier doesn't merge interface types correctly
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org

The gcj verifier currently incorrectly handles interface
type merges.  It always yields Object.

In my particular case, when compiling an eclipse .jar,
I get this error:

org/eclipse/pde/internal/ui/preferences/ExternalPluginsBlock.java: In method
`org.eclipse.pde.internal.ui.preferences.ExternalPluginsBlock.computeDelta()':
org/eclipse/pde/internal/ui/preferences/ExternalPluginsBlock.java:174: error:
verification error at PC=103
org/eclipse/pde/internal/ui/preferences/ExternalPluginsBlock.java:174: error:
invalid argument type
org/eclipse/pde/internal/ui/preferences/ExternalPluginsBlock.java:174: error:
expected type 'org.eclipse.pde.core.IModel[]' but stack contains
'java.lang.Object[]'


In this case, we've merged two different array types to
Object[], which isn't compatible with the actual type of the
method's argument.  However, both these array types are
actually convertible to IModel[].


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

end of thread, other threads:[~2005-04-20  2:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 20:40 [Bug java/12734] New: gcj verifier doesn't merge interface types correctly tromey at gcc dot gnu dot org
2003-10-22 20:46 ` [Bug java/12734] " pinskia at gcc dot gnu dot org
2003-10-22 20:48 ` tromey at gcc dot gnu dot org
2004-01-21  0:31 ` pinskia at gcc dot gnu dot org
2005-03-09  9:14 ` rmathew at gcc dot gnu dot org
2005-03-10  0:53 ` mckinlay at redhat dot com
2005-04-20  2:19 ` pinskia 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).