[rfc][icedtea-web][policyeditor] File Changed check

Andrew Azores aazores at redhat.com
Mon Mar 10 19:57:37 UTC 2014


As promised, here's a patch that lets PolicyEditor detect when the 
policy file has been externally modified since it was opened, using 

Added check for external file modification to PolicyEditor
* netx/net/sourceforge/jnlp/resources/Messages.properties: (PEFileModified,
PEFileModifiedDetail) new messages
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
(updateCheckboxes) avoid NPE. (openAndParsePolicyFile, savePolicyFile) use
MD5SumWatcher to detect when the policy file has been externally modified.
(updateMd5WithDialog) new method
all URLs changed to example.com


Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: filechanged-check.patch
Type: text/x-patch
Size: 12256 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140310/c8bf26dd/filechanged-check.patch>

More information about the distro-pkg-dev mailing list