[cp-patches] RFC: NetworkInterface - implement some 1.6 methods

Robert Schuster theBohemian at gmx.net
Mon Apr 21 07:03:04 UTC 2008


Hi,
people using Jalimo asked for those methods and I found them simple to
implement.

Since I am lousy non-Java hacker I appreciate comments on the code in
java_net_VMNetworkInterface.c.

Regards
Robert

2008-04-21  Robert Schuster  <robertschuster at fsfe.org>

  * java/net/NetworkInterface.java:
  (isUp): New method.
  (isPointToPoint): Dito.
  (isLoopback): Dito.
  (supportsMulticast): Dito.
  * vm/reference/java/net/VMNetworkInterface.java:
  (isUp): New method.
  (isPointToPoint): Dito.
  (isLoopback): Dito.
  (supportsMulticast): Dito.
  * native/jni/java-net/java_net_VMNetworkInterface.c:
  (isUp): New method.
  (isPointToPoint): Dito.
  (isLoopback): Dito.
  (supportsMulticast): Dito.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netif_16.diff
Type: text/x-patch
Size: 6845 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20080421/917a1e66/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20080421/917a1e66/attachment.pgp 


More information about the Classpath-patches mailing list