Review Request: signed module code restructuring/refactoring

Mandy Chung mandy.chung at oracle.com
Tue May 22 16:19:13 PDT 2012


On 5/18/2012 12:48 PM, Sean Mullan wrote:
> I have restructured and refactored the signed module code. In particular I have
> removed the ModuleFileVerifier and ModuleFileSigner interfaces (they really
> didn't add any value) and made a few improvements here and there.
>
> webrev:
> http://cr.openjdk.java.net/~mullan/jigsaw/webrevs/signed-module-refactor/webrev.00/

I went through the changes and look okay to me.

Signer.java
   L96: is this a leftover from debugging?

   L322-332: storePassword.destroy() throws DestroyFailedException,
   keyPassword.destroy() will not be called - should it handle
   this exception case and destroy keyPassword?

SimpleLibrary.java
   L1167: // XXX  - better to use '// ##' convention

You removed this comment - is it not applicable any more?

1162  // ## Check policy - is signer trusted and what permissions
1163  // ## should be granted?

Mandy






More information about the jigsaw-dev mailing list