[icedtea-web] URLPermission in Java 8

Omair Majid omajid at redhat.com
Wed Jun 18 16:17:04 UTC 2014


* Andrew Azores <aazores at redhat.com> [2014-06-18 11:56]:
> If we go with reflection then we should be a little extra careful about it.
> SecurityDesc#getSandboxPermissions gets called *a lot*.

Then this isn't the code path to add this code.

The classloader that creates a class gets to add a set of security
permissions to that class. This is done once, when the class is
created. If you can add the code there, then we should only pay the
reflection cost once for each class.

Thanks,
Omair

-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681


More information about the distro-pkg-dev mailing list