classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [Patch] java.nio server socket channels


From: Michael Koch
Subject: [cp-patches] [Patch] java.nio server socket channels
Date: Tue, 23 Nov 2004 14:53:05 +0100
User-agent: Mutt/1.5.6+20040722i

Hi list,


I just commited the attached patch to make ServerSocketChannels from NIO
work in classpath. Therefore I removed some native method which was
intended to be used to circumvent java security and implemented a method
class via reflection. This is not speed critical as its only used when
creating server socket channels which is normally not done that often in
an network application.


Michael


2004-11-23  Michael Koch  <address@hidden>

        * gnu/java/nio/NIOServerSocket.java
        (getPlainSocketImpl): Implemented in java with reflection.
        * include/gnu_java_nio_NIOServerSocket.h,
        native/jni/java-nio/gnu_java_nio_NIOServerSocket.c: Removed.
        * include/Makefile.am:
        Don't generate include/gnu_java_nio_NIOServerSocket.h.
        * native/jni/java-nio/Makefile.am:
        Don't build native/jni/java-nio/gnu_java_nio_NIOServerSocket.c.

Attachment: nio.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]