author | swamyv |
Wed, 25 Jun 2008 16:33:59 -0700 | |
changeset 829 | 813b4d167747 |
parent 785 | 36c29b2692f1 |
child 830 | 8f4d875a65fc |
jdk/src/share/classes/com/sun/tools/jdi/EventSetImpl.java | file | annotate | diff | comparison | revisions |
--- a/jdk/src/share/classes/com/sun/tools/jdi/EventSetImpl.java Wed Jun 25 13:58:22 2008 -0700 +++ b/jdk/src/share/classes/com/sun/tools/jdi/EventSetImpl.java Wed Jun 25 16:33:59 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(); } }