Hi,

Ingo has abstracted out the native code from gnu.java.net.PlainSocketImpl
and gnu.java.net.PlainDatagramSocketImpl into a new VM interface. This
allows VM implementors to provide a different implementation for the
native parts of these classes if they wish. Is this ok to commit as it
is? Do you have any suggestions/improvements to the interface? We would
like to have a stable VM interface for this area, so maybe it would be
helpful to discuss this with other VM implementors...

2005-11-09  Roman Kennke  <[EMAIL PROTECTED]>

        Reported by Ingo Proetel  <[EMAIL PROTECTED]>
        * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
        * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
        New VM class.
        * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
        * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
        New file.
        * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
Removed.
        * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
        * native/jni/java-net/Makefile.am: Adjusted for new source files.
        * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
        * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
        * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
        * include/gnu_java_net_PlainSocketImpl.h: Removed.
        * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header
file.
        * include/gnu_java_net_VMPlainSocketImpl.h: New header file.

/Roman

Attachment: patch.diff.gz
Description: GNU Zip compressed data

_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to