changeset 1996:31fac6705b41

6905516: Test failed: java/beans/EventHandler/Test6788531.java Reviewed-by: peterz
author malenkov
date Mon, 30 Nov 2009 18:30:50 +0300
parents efab4331ec26
children 931cfd3ba5b6
files test/java/beans/EventHandler/Test6788531.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/beans/EventHandler/Test6788531.java	Mon Nov 30 18:26:52 2009 +0300
+++ b/test/java/beans/EventHandler/Test6788531.java	Mon Nov 30 18:30:50 2009 +0300
@@ -36,7 +36,7 @@
     public static void main(String[] args) throws Exception {
         JButton button = new JButton("hi");
         button.addActionListener(EventHandler.create(ActionListener.class, new Private(), "run"));
-        button.addActionListener(EventHandler.create(ActionListener.class, new PrivateGeneric(), "run", "generic"));
+        button.addActionListener(EventHandler.create(ActionListener.class, new PrivateGeneric(), "run", "actionCommand"));
         button.doClick();
     }