Community
Participate
Working Groups
The part mentioned in the summary is that ProcessConsole is receiving output from process via IStreamMonitor as String. Then it transform this string to bytes and pass it to IOConsoleOutputStream which... transform those bytes back into a string. This is not only unnecessary it can corrupt the content because the encoding to encode and decode can differ. It is unlikely but possible. Another major part of this change is the refactoring of ProcessConsole's part in output handling for bug 558463. And last but not least since I'm already changing encoding stuff I changed some encodings passed as names to use proper Charset class. Spares us a few unnecessary charset lookups.
New Gerrit change created: https://git.eclipse.org/r/154846
Gerrit change https://git.eclipse.org/r/154846 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=e5d5a40e85cdf4c3788f7ecd2139b9d7ca784702
Steps to verify this bug?
Well, the best you can do is print something to console and see that it's not corrupted.