returns the url for the default policy . this never returns null , but it may throw a nullpointerexception concode_field_sep String EXCEPTION_ALIEN_SECURITY_MANAGER concode_elem_sep String PROPERTY_JAVA_SECURITY_POLICY concode_elem_sep Class appMainClass concode_elem_sep String JAR_PROTOCOL concode_elem_sep String PROPERTY_APP_DEV_BASE concode_elem_sep String appMainClassRelativeURL concode_elem_sep String EXCEPTION_NO_POLICY_FILE concode_elem_sep String APP_MAIN_CLASS_DIR concode_elem_sep String PROPERTY_APP_JAR_BASE concode_elem_sep String securityPolicy concode_elem_sep BatikSecurityManager lastSecurityManagerInstalled concode_elem_sep String JAR_URL_FILE_SEPARATOR concode_field_sep void enforceSecurity concode_elem_sep void setDevBase concode_elem_sep void setJarBase concode_elem_sep void installSecurityManager
URL function ( ) { ClassLoader loc0 = appMainClass . getClassLoader ( ) ; URL loc1 = loc0 . getResource ( securityPolicy ) ; if ( loc1 == null ) { throw new NullPointerException ( Messages . formatMessage ( EXCEPTION_NO_POLICY_FILE , new Object [ ] { securityPolicy } ) ) ; } return loc1 ; }