Results 1 issues of threedr3am

Fix insecure test RMI registry connection and upgrade to SSL connection if it fails. https://github.com/frohoff/ysoserial/issues/171