Need help with change
Coleen Phillimore
coleen.phillimore at oracle.com
Wed May 22 04:47:34 PDT 2013
On 5/22/2013 7:34 AM, David Holmes wrote:
> I don't understand. AFAICS the JVMTI spec just says you have to be
> able to get to these things from the Class object. So if the fields
> are in Class then we just need to access them - no need for an upcall.
We're moving the signers field out of Class also, with another change.
It is unnecessary and wastes space. The java code in the jdk can just
call pd.getCertificates() instead and we can remove all knowledge of
signers in the jvm.
Or we can implement the jvmti version of getSigners in the jvm to make a
Java upcall. Or we could add the layout of protection domain to
javaClasses and see if certificates is a field and get that. Or
something to avoid the upcall. This could be tricky. I wish we could
change the jvmti spec or not support callbacks for the signers object.
It's really odd. I don't know what this is for.
Coleen
More information about the serviceability-dev
mailing list