harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Chen (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6473) [classlib][nio]SocketChannel's bug when then main thread is in blocking read() and another thread trired to close it
Date Mon, 15 Mar 2010 07:59:27 GMT
[classlib][nio]SocketChannel's bug when then main thread is in blocking read() and another
thread trired to close it
--------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-6473
                 URL: https://issues.apache.org/jira/browse/HARMONY-6473
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Windows, Linux
            Reporter: Ray Chen


On Windows, throws the java.net.SocketException, and the exception trace as following:
Uncaught exception in main:
java.net.SocketException: The socket argument is not a socket
	at org.apache.harmony.luni.platform.OSNetworkSystem.read(OSNetworkSystem.java)
	at org.apache.harmony.nio.internal.SocketChannelImpl.readImpl(SocketChannelImpl.java:455)
	at org.apache.harmony.nio.internal.SocketChannelImpl.read(SocketChannelImpl.java:373)
	at CMVC151710_SocketChannel.runTest(CMVC151710_SocketChannel.java:48)
	at CMVC151710_SocketChannel.main(CMVC151710_SocketChannel.java:14)

On linux, the blocking read() hang forever

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message