[rfc][icedtea-web][policyeditor] Parsing enhancement, unit testing, file-changed checking

Andrew Azores aazores at redhat.com
Fri Feb 21 08:48:53 PST 2014


Hi,

One of the attached patches changes PolicyEditor to use regexes when 
attempting to convert Strings into PolicyEditorPermissions, and adds 
plenty of unit tests for various things. The other patch adds 
functionality so PolicyEditor will warn the user if the file on disk is 
modified externally in between the time PolicyEditor opened the file and 
when it is to be saved. This is done by checking the file's MD5, which 
was added to FileUtils so it's reusable in the future. ChangeLogs are 
included in the patches. They should apply cleanly together.

Thanks,

-- 
Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: policy-editor-filechanged-check.patch
Type: text/x-patch
Size: 10222 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140221/ab7e73e9/policy-editor-filechanged-check-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: policy-editor-parsing-tests.patch
Type: text/x-patch
Size: 23124 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140221/ab7e73e9/policy-editor-parsing-tests-0001.patch 


More information about the distro-pkg-dev mailing list