This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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=8663&action=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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]