Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: X10 1.7.3
-
Fix Version/s: X10 1.7.3
-
Component/s: XRX Runtime
-
Labels:None
-
Number of attachments :
Description
import x10.io.StringWriter; import x10.io.Printer; public class Bug { public static def main(Rail[String]) { val os = new StringWriter(); val ps = new Printer(os); ps.printf("hi"); System.out.println(os.toString()); } }
x10.io.IORuntimeException: Could not get native output stream
at x10.io.Printer.getNative(Printer.java:217)
at x10.io.Printer.getNative(Printer.java:196)
at Bug.main(Bug.java:67)
at Bug$Main$1.apply(Bug.java:34)
at x10.runtime.Activity.run(Activity.java:105)
at x10.runtime.Runtime.start(Runtime.java:310)
at Bug$Main.main(Bug.java:30)
at x10.runtime.impl.java.Runtime.run(Runtime.java:41)
at java.lang.Thread.run(Thread.java:797)
This takes out a lot of test cases...