review request (URGENT): 7050328: (jsr-292) findConstructor throws ExceptionInInitializerError if run under SecurityManager

Tom Rodriguez tom.rodriguez at
Wed Jun 1 14:23:14 PDT 2011

Looks good.


On Jun 1, 2011, at 1:39 PM, John Rose wrote:

> Summary: Wrap system property and reflection accesses under doPrivileged.  Ensure constant pool linkage bypasses the SM as specified.
>  (jdk changes only; no jvm changes)
> Testing:
> - Passes jtreg unit tests for java.lang.invoke and ad hoc mlvm tests.
> - Newly modified unit test spot-tests APIs with a toxic security manager, to ensure that the specified security exceptions are thrown.
> - Passes test reported in 7050328.
> - No regression on related bug 7042829.
> Note to reviewers:  Please confirm that the duplicated or moved code lines are accurate duplicates.
> The change to the unit test shows how I verified the places that needed change.  These places were independently found by grepping.
> -- John

More information about the hotspot-compiler-dev mailing list