Index: gnu/testlet/javax/swing/AbstractAction/putValue.java =================================================================== RCS file: /cvs/mauve/mauve/gnu/testlet/javax/swing/AbstractAction/putValue.java,v retrieving revision 1.1 diff -u -r1.1 putValue.java --- gnu/testlet/javax/swing/AbstractAction/putValue.java 6 Jul 2005 08:55:27 -0000 1.1 +++ gnu/testlet/javax/swing/AbstractAction/putValue.java 12 Feb 2006 13:31:44 -0000 @@ -50,20 +50,21 @@ a1.putValue(Action.NAME, null); harness.check(a1.getValue(Action.NAME), null); - // try null key - it is not specified what happens here, Sun's - // implementation allows it but then throws an exception if you try to - // retrieve the value using the null key... + // try null key - it is not specified what happens here + // so we don't explicitly test this case. + /* boolean pass = false; try { a1.putValue(null, "XYZ"); - /*Object value =*/ a1.getValue(null); + Object value = a1.getValue(null); } catch (NullPointerException e) { pass = true; } harness.check(pass); + */ } }