8059595: Verifier::verify is wasting time before is_eligible_for_verification check
Summary: Do the check earlier.
Reviewed-by: hseigel, kamg
/*
* security policy used by MarshalForeignStub test
*/
grant {
// used by TestLibrary to determine test environment
permission java.util.PropertyPermission "test.*", "read";
permission java.util.PropertyPermission "user.dir", "read";
permission java.util.PropertyPermission "java.home", "read";
// allow exporting of remote objects on an arbitrary port
permission java.net.SocketPermission "*:1024-", "connect,accept,listen";
};