detects nullifying setSecureManager in java app