[Bug java/21065] javax.swing.event.EventListenerList.getListenerList() implemented wrong

2005-04-16 Thread gruni dot ca at gmail dot com

--- Additional Comments From gruni dot ca at gmail dot com  2005-04-17 
00:45 ---
Created an attachment (id=8663)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8663action=view)
Simple Testcase showing that addind a EventListener increments the list by one

This is a testcase I wrote, I compiled it with 
gcj --main=GcjEventListenerListTest -o EventTest.exe
GcjEventListenerListTest.java
the output should be similar to JDK if implemented correctly
JDK output:
should be=2 is=2
should be=4 is=4
GCJ output:
should be=2 is=1
should be=4 is=2

That's all I have


-- 


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


[Bug java/21065] javax.swing.event.EventListenerList.getListenerList() implemented wrong

2005-04-16 Thread gruni dot ca at gmail dot com


-- 
   What|Removed |Added

   Attachment #8663|Simple Testcase showing that|Simple Testcase showing that
description|addind a EventListener  |adding a EventListener
   |increments the list by one  |increments the list by one


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