6614556: null location for MonitorContendedEnterEvent

Reviewed-by: jjh
This commit is contained in:
Swamy Venkataramanappa 2008-06-25 16:33:59 -07:00
parent 827decba87
commit 72d83e3708

@ -208,8 +208,9 @@ public class EventSetImpl extends ArrayList<Event> implements EventSet {
}
public String toString() {
return eventName() + "@" + location().toString() +
" in thread " + thread().name();
return eventName() + "@" +
((location() == null) ? " null" : location().toString()) +
" in thread " + thread().name();
}
}