This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/21065] javax.swing.event.EventListenerList.getListenerList() implemented wrong
- From: "gruni dot ca at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 17 Apr 2005 00:46:00 -0000
- Subject: [Bug java/21065] javax.swing.event.EventListenerList.getListenerList() implemented wrong
- References: <20050417001142.21065.gruni.ca@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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