Skip to main content
diff options
authorAndrey Loskutov2018-11-21 16:25:18 +0000
committerSimeon Andreev2018-12-13 14:04:55 +0000
commitf01aa33b2a7155e98055c57f78608525b7e33d15 (patch)
treeb921e8bdabba945417371d109ffcc612c5ab7a63 /org.eclipse.core.variables
parent309bfbc018e9bee99df88c1605f217e511f60c30 (diff)
Added a wait in OutputStreamMonitor.getContents(), until stream reading is done or until a timeout of default 10 seconds occurs. If the timeout is reached before stream reading is done, a warning is logged. The timeout can be configured by specifying VM property: -Dorg.eclipse.debug.core.msMaxWaitTimeForStreamMonitorReading=5000 The VM property time unit is milliseconds. The wait ensures that callers of OutputStreamMonitor.getContents() actually see correct stream contents in cases such as accessing contents before the reading has even started, which could cause bug 536943. Change-Id: I7e4af3d06ef528030df5b263b3d664b853f12456 Signed-off-by: Andrey Loskutov <> Signed-off-by: Simeon Andreev <>
Diffstat (limited to 'org.eclipse.core.variables')
0 files changed, 0 insertions, 0 deletions

Back to the top