changeset 404:6bdb9094310f

Merge
author swamyv
date Wed, 02 Jul 2008 09:37:42 -0700
parents a1bffe0195c8 0ce6a3f3ee2f
children a031e88c72ec
files
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/jdi/EventSetImpl.java	Tue Jul 01 09:23:00 2008 -0700
+++ b/src/share/classes/com/sun/tools/jdi/EventSetImpl.java	Wed Jul 02 09:37:42 2008 -0700
@@ -208,8 +208,9 @@
         }
 
         public String toString() {
-            return eventName() + "@" + location().toString() +
-                                 " in thread " + thread().name();
+            return eventName() + "@" +
+                   ((location() == null) ? " null" : location().toString()) +
+                   " in thread " + thread().name();
         }
     }