RFC: Netx - implement -Xclearcache command line option
Omair Majid
omajid at redhat.com
Thu Sep 30 13:07:36 PDT 2010
Hi,
I posted this patch way back in 2009, but it looks like it got lost/ignored.
On 07/30/2009 05:18 PM, Omair Majid wrote:
> The attached patch adds the option -Xclearcache to Netx.
>
Which (and I neglected to explain this last time) makes javaws clean out
its cache by deleting the contents of ~/.netx/cache/
> ChangeLog:
> 2009-07-30 Omair Majid <omajid at redhat.com>
>
> * rt/net/sourceforge/jnlp/cache/CacheUtil.java
> (clearCache): New function.
> * rt/net/sourceforge/jnlp/resources/Messages.properties: Add
> BXclearcache.
> * rt/net/sourceforge/jnlp/runtime/Boot.java
> Add -Xclearcache to helpMessage.
> (run): Check for option -Xclearcache and call CacheUtil.clearCache.
> * rt/net/sourceforge/jnlp/util/FileUtils.java
> (recursiveDelete): New function.
>
I am attaching an updated version. Any thoughts?
Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea6-jnlp-clearcache.patch
Type: text/x-patch
Size: 4891 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100930/7fdcb906/icedtea6-jnlp-clearcache.patch
More information about the distro-pkg-dev
mailing list