7050328: (jsr-292) findConstructor throws ExceptionInInitializerError if run under SecurityManager
Summary: Wrap system property and reflection accesses under doPrivileged. Ensure constant pool linkage bypasses the SM as specified.
Reviewed-by: kvn, never
7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
Summary: Wrap invokedynamic linkage errors in BootstrapMethodError, as needed.
Reviewed-by: never