6905516: Test failed: java/beans/EventHandler/Test6788531.java
authormalenkov
Mon, 30 Nov 2009 18:30:50 +0300
changeset 4391 b31fdb74b4a4
parent 4390 3d16ebf520b3
child 4392 4a92100685fa
6905516: Test failed: java/beans/EventHandler/Test6788531.java Reviewed-by: peterz
jdk/test/java/beans/EventHandler/Test6788531.java
--- a/jdk/test/java/beans/EventHandler/Test6788531.java	Mon Nov 30 18:26:52 2009 +0300
+++ b/jdk/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();
     }