[Bug java/21065] javax.swing.event.EventListenerList.getListenerList() implemented wrong
gruni dot ca at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 17 00:46:00 GMT 2005
------- 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
More information about the Java-prs
mailing list