andreasgal/j2me.js — pull request #494 by PinZhang (2014-10-24 06:28:00+00:00)
Title: Throw IOException when writing closed socket.

@marco-c The root cause of the previous test failing is that the socket is closed before the data in the buffer is fetched, this bug is triggered right after we use Native.create and Promise.