View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0000403 | mercury | Bug | public | 2016-02-09 10:02 | 2016-02-18 14:36 | ||||||||
Reporter | juliensf | ||||||||||||
Assigned To | juliensf | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | assigned | Resolution | open | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000403: Normal termination of a program in the Java grade does not flush stdout | ||||||||||||
Description | Normal termination of a program compiled in the Java grade does not flush stdout. This is leading to the failure of (at least) the following test cases in the Java grade: general/duplicate_label general/interpreter general/prune_switch (And probably some others in the hard_coded directory.) | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
Notes | |
juliensf (administrator) 2016-02-18 14:36 Last edited: 2016-02-18 14:36 |
Workaround committed in commit f56b11d. The workaround inserts calls to flush stdout and stderr before System.exit() is called. The affected test cases all now pass (or fail for other non-related reasons). |