public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21517] New: Bytecode -> native code mis-compilation
@ 2005-05-11 18:43 overholt at redhat dot com
  2005-05-11 18:43 ` [Bug java/21517] " overholt at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: overholt at redhat dot com @ 2005-05-11 18:43 UTC (permalink / raw)
  To: java-prs

I don't have a small test case for this, but we've narrowed
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151919 down to be a gcj
mis-compilation.  The jar that is being mis-compiled is
org.eclipse.ui.workbench.  The symptom is that files can't be opened in Eclipse.
 Removing the .jar.so makes the erroneous behaviour disappear.

The top of the stack trace (this appears in the Eclipse editor window where the
file contents should be) looks like this:

java.lang.ClassCastException:
org.eclipse.ui.internal.PlaceholderContributionItem cannot be cast to
org.eclipse.jface.action.ToolBarContributionItem
   at org.eclipse.ui.internal.EditorActionBars.getToolBarManager()
(/usr/lib/eclipse/plugins/org.eclipse.ui.workbench_3.1.0.jar.so)
   at
org.eclipse.ui.part.EditorActionBarContributor.init(org.eclipse.ui.IActionBars)
(/usr/lib/eclipse/plugins/org.eclipse.ui.workbench_3.1.0.jar.so)

I'll attach the bytecode of EditorActionBars but the entire jar is 2.4 MB so
it's probably stupid to attach the entire thing to this bug report.  I've put it
here instead:

http://people.redhat.com/overholt/org.eclipse.ui.workbench_3.1.0.jar

The source for this plugin is available here:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.workbench/?only_with_tag=v20050331-2000

I'm sorry I can't be more specific.  I wanted to get this here while the
knowledge was fresh.

-- 
           Summary: Bytecode -> native code mis-compilation
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: overholt 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=21517


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

end of thread, other threads:[~2005-11-08 20:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21517-9773@http.gcc.gnu.org/bugzilla/>
2005-10-19 14:31 ` [Bug java/21517] Bytecode -> native code mis-compilation aph at gcc dot gnu dot org
2005-11-08 19:23 ` tromey at gcc dot gnu dot org
2005-11-08 19:31 ` overholt at redhat dot com
2005-11-08 20:07 ` tromey at gcc dot gnu dot org
2005-05-11 18:43 [Bug java/21517] New: " overholt at redhat dot com
2005-05-11 18:43 ` [Bug java/21517] " overholt at redhat dot com
2005-05-11 18:44 ` overholt at redhat dot com
2005-05-11 18:44 ` overholt at redhat dot com
2005-05-11 18:45 ` overholt at redhat dot com
2005-05-11 18:47 ` pinskia at gcc dot gnu dot org
2005-05-11 18:50 ` overholt at redhat dot com
2005-08-27 22:25 ` pinskia at gcc dot gnu dot org
2005-09-30 15:38 ` aph at gcc dot gnu dot org
2005-09-30 16:17 ` 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).