From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24840 invoked by alias); 11 May 2005 18:43:00 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 24763 invoked by uid 48); 11 May 2005 18:42:58 -0000 Date: Wed, 11 May 2005 18:43:00 -0000 From: "overholt at redhat dot com" To: java-prs@gcc.gnu.org Message-ID: <20050511184254.21517.overholt@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/21517] New: Bytecode -> native code mis-compilation X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00415.txt.bz2 List-Id: 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