DESCRIPTION

valgrind: recovery from failure on Valgrind.Command.whichversion()

This patch change whichVersion() method to return an empty string when something goes wrong to determine system's valgrind version.
Changed readIntoBuffer() method to also throw IOExpection when process parameter is null.

Change-Id: Ie0bd3cb31804f2aa60c5a149a8ad55a301edc8a3
Signed-off-by: Madeline Richardson xxx@xxx.xxx


COMMENTS

author: Logan Yoder
date: 2013-09-03 02:19:33.000000000

Uploaded patch set 5.

-------------------------------------
author: Logan Yoder
date: 2013-09-03 02:23:36.000000000

Patch Set 5:

Accepted Camilo's suggestion and updated the patch.

I can't reproduce the problem which was reported a long time ago in the ML (see "Valgrind UI Java Null pointer"). Anyway, this patch must make whichCommand() more tolerant-fault if the NPE happens again.

-------------------------------------
author: Erick Ross
date: 2013-09-03 10:42:07.000000000

Patch Set 5: Verified+1 Code-Review+2 IP-Clean+1

-------------------------------------
