RFC: Netx - Fix BasicService.isOffline()

Omair Majid omajid at redhat.com
Mon Jun 8 14:24:45 PDT 2009


Hi,

The attached patch implements XBasicService.isOffline().

ChangeLog
2009-06-08  Omair Majid  <omajid at redhat.com>

     * rt/net/sourceforge/jnlp/services/XBasicService.java
     (isOffline): Check if the system is offline by retrieving data from
     a URL.
     (findFirstURLFromJNLPFile): New function. Obtain a URL from the JNLP
     file. As a last resort, return an arbitrary known URL.

Any comments?

Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netx-basicservice-isoffline.patch
Type: text/x-patch
Size: 3035 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090608/3b5e0d55/netx-basicservice-isoffline.patch 


More information about the distro-pkg-dev mailing list