Module URL
Mark Reinhold
mr at sun.com
Wed Apr 7 13:30:28 PDT 2010
> Date: Wed, 07 Apr 2010 15:37:50 -0400
> From: sean.mullan at sun.com
> We need to retain the URL of the repository from which a module was retrieved
> to properly construct the CodeSource and ProtectionDomain for classes in that
> module. Is this information stored somewhere in the library?
No, not at the moment.
In general a module may be downloaded from a repository other than the
one in which it was originally published, and modules from different
repositories may need to wind up in the same protection domain.
Can't we just leave the CodeSource location property unspecified, i.e.,
null?
- Mark
More information about the jigsaw-dev
mailing list