TCP ports do not close properly when using server
This occurred when using java_posix_spawn on Arch Linux on the Raspberry Pi.
Open a ServerSocket Launch a process, any process, using new SpawnProcess() Close ServerSocket
Everything appears to work as expected, except that checking 'netstat -a' shows the socket is still LISTENing. Attempting to re-open the socket will result in an IOException claiming the port is already open.
There are no errors or exceptions reported during the close operation. It claims to complete successfully.
Removing java_posix_spawn and replacing with normal Process makes the problem go away.
I would say this is the same bug as #1. If so then you may want to check bxm156's fork which fixes this problem (link: https://github.com/bxm156/java_posix_spawn).