| Summary: | [console] UTF-8 content read or send to process can be corrupted | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Paul Pazderski <paul-eclipse> |
| Component: | Debug | Assignee: | Paul Pazderski <paul-eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | loskutov, robert_lu00, sarika.sinha, yoshito_umaoka |
| Version: | 4.12 | ||
| Target Milestone: | 4.12 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/139464 https://git.eclipse.org/r/139465 https://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=bd26d4f1c3635d683d078d9352467c7879571d62 https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=610a5fa960a7fbf09d7fd59db2240b77eb515048 |
||
| Whiteboard: | |||
| Bug Depends on: | 546641, 550345 | ||
| Bug Blocks: | 552030 | ||
New Gerrit change created: https://git.eclipse.org/r/139464 (In reply to Eclipse Genie from comment #1) > New Gerrit change created: https://git.eclipse.org/r/139464 The patch depends on bug 307309 because the InputStreamReader has problems using the IOConsoleInputStream. New Gerrit change created: https://git.eclipse.org/r/139465 (In reply to Eclipse Genie from comment #3) > New Gerrit change created: https://git.eclipse.org/r/139465 I finished this test case for JDT suite first and won't throw away my work even after I created a similar test for Platform test suite. @Andrey, Will you be able to review this? (In reply to Sarika Sinha from comment #5) > @Andrey, > Will you be able to review this? In theory yes, but right now I'm pretty loaded. I will put it on our internal task list, just after the task to review the patch for bug 544970 :-). Thanks Andrey, Moving to M3 ! Gerrit change https://git.eclipse.org/r/139464 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=bd26d4f1c3635d683d078d9352467c7879571d62 @Paul! Can you please verify this bug with latest I build ? Verified using Build id: I20190520-1805 Gerrit change https://git.eclipse.org/r/139465 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=610a5fa960a7fbf09d7fd59db2240b77eb515048 *** Bug 266658 has been marked as a duplicate of this bug. *** *** Bug 513424 has been marked as a duplicate of this bug. *** |
The ProcessConsole can in some cases corrupt the content read or send to the processes standard IO streams. How to reproduce: - In console with UTF8 encoding run the following snippet. ============ import java.util.Collections; public class Umlaut { public static void main(String[] args) { String out = ">" + String.join("", Collections.nCopies(4200, "\u00F6")); System.out.print(out); } } ============ You should see that an 'รถ' is missing near the end and instead two replacement characters shown.