This is the mail archive of the mailing list for the Mauve project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Testcase fix

This patch fixes the TargetedNotification test
to not use a null object; this causes an exception
from java.util.EventSource.


2008-02-10  Andrew John Hughes  <>

	* gnu/testlet/javax/management/remote/
	Avoid using null for the event object.

Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
Index: gnu/testlet/javax/management/remote/
RCS file: /cvs/mauve/mauve/gnu/testlet/javax/management/remote/,v
retrieving revision 1.1
diff -u -3 -p -u -r1.1
--- gnu/testlet/javax/management/remote/	10 Feb 2008 23:33:38 -0000	1.1
+++ gnu/testlet/javax/management/remote/	19 Feb 2008 22:54:53 -0000
@@ -34,7 +34,7 @@ public class TargetedNotificationTest
   public void test(TestHarness h)
     TargetedNotification tn;
-    Notification n = new Notification("", null, 1);
+    Notification n = new Notification("", this, 1);
     h.checkPoint("Constructor tests");

Attachment: signature.asc
Description: Digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]