d-widget-toolkit / dwt

A library for creating cross-platform GUI applications.
141 stars 33 forks source link

Add `java.io.FileDescriptor` #124

Open summer-alice opened 1 year ago

summer-alice commented 1 year ago

I want to get System.{in,out,err} to allow the SWTException and SWTError tests to be fully implemented. In particular, this would allow the .printStackTrace to use System.err_. I think it would also just be fun to have the streams working in general :smile:

By default, each of the PrintStreams are File{Input,Output}Stream which use a FileDescriptor (ref).

jacob-carlborg commented 1 year ago

Is this ported from the Java source code or is a reimplementation?