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; 14+ 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] 14+ messages in thread

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
@ 2005-05-11 18:43 ` overholt at redhat dot com
  2005-05-11 18:44 ` overholt at redhat dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 14+ messages in thread
From: overholt at redhat dot com @ 2005-05-11 18:43 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From overholt at redhat dot com  2005-05-11 18:43 -------
Created an attachment (id=8864)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8864&action=view)
EditorActionBars bytecode (1 of 3)


-- 


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation 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
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 14+ messages in thread
From: overholt at redhat dot com @ 2005-05-11 18:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From overholt at redhat dot com  2005-05-11 18:44 -------
Created an attachment (id=8866)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8866&action=view)
EditorActionBars bytecode (3 of 3)


-- 


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation 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
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 14+ messages in thread
From: overholt at redhat dot com @ 2005-05-11 18:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From overholt at redhat dot com  2005-05-11 18:44 -------
Created an attachment (id=8865)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8865&action=view)
EditorActionBars bytecode (2 of 3)


-- 


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
                   ` (2 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 14+ messages in thread
From: overholt at redhat dot com @ 2005-05-11 18:45 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From overholt at redhat dot com  2005-05-11 18:45 -------
I tried compiling the bytecode with Sun's javac (as opposed to ecj) and the
results are the same.

-- 


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
                   ` (3 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-11 18:47 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |wrong-code


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
                   ` (4 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 14+ messages in thread
From: overholt at redhat dot com @ 2005-05-11 18:50 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkonrath at redhat dot com


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
                   ` (5 preceding siblings ...)
  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
  8 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-27 22:25 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-27 22:25 -------
Hmm, is this with -findirect-dispatch?

if that is true, I think this is related to PR 23182.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |23182


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
                   ` (6 preceding siblings ...)
  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
  8 siblings, 0 replies; 14+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-09-30 15:38 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aph at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-30 15:38:02
               date|                            |


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
  2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation overholt at redhat dot com
                   ` (7 preceding siblings ...)
  2005-09-30 15:38 ` aph at gcc dot gnu dot org
@ 2005-09-30 16:17 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-30 16:17 UTC (permalink / raw)
  To: java-prs



-- 
Bug 21517 depends on bug 23182, which changed state.

Bug 23182 Summary: instanceof sometimes fails if compiled with -findirect-dispatch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23182

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
       [not found] <bug-21517-9773@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-11-08 19:31 ` overholt at redhat dot com
@ 2005-11-08 20:07 ` tromey at gcc dot gnu dot org
  3 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-11-08 20:07 UTC (permalink / raw)
  To: java-prs



------- Comment #8 from tromey at gcc dot gnu dot org  2005-11-08 20:07 -------
Fixed.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.3


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
       [not found] <bug-21517-9773@http.gcc.gnu.org/bugzilla/>
  2005-10-19 14:31 ` 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
  3 siblings, 0 replies; 14+ messages in thread
From: overholt at redhat dot com @ 2005-11-08 19:31 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from overholt at redhat dot com  2005-11-08 19:31 -------
(In reply to comment #6)
> I agree, this looks like PR 23182.
> Andrew (Overholt) -- does this bug still occur for you?

No.  Sorry, I should have closed this when I first realized that it was no
longer occurring.  Shall I close?


-- 

overholt at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |overholt at redhat dot com


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
       [not found] <bug-21517-9773@http.gcc.gnu.org/bugzilla/>
  2005-10-19 14:31 ` 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
  3 siblings, 0 replies; 14+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-11-08 19:23 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from tromey at gcc dot gnu dot org  2005-11-08 19:23 -------
I agree, this looks like PR 23182.
Andrew (Overholt) -- does this bug still occur for you?


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


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

* [Bug java/21517] Bytecode -> native code mis-compilation
       [not found] <bug-21517-9773@http.gcc.gnu.org/bugzilla/>
@ 2005-10-19 14:31 ` aph at gcc dot gnu dot org
  2005-11-08 19:23 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 14+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-10-19 14:31 UTC (permalink / raw)
  To: java-prs



-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-11 18:43 [Bug java/21517] New: Bytecode -> native code mis-compilation 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
     [not found] <bug-21517-9773@http.gcc.gnu.org/bugzilla/>
2005-10-19 14:31 ` 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

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