diff --git a/lib/msf/core/exploit/java.rb b/lib/msf/core/exploit/java.rb index e5aee237fb..35afaa3874 100644 --- a/lib/msf/core/exploit/java.rb +++ b/lib/msf/core/exploit/java.rb @@ -31,7 +31,7 @@ module Exploit::Java require 'rjb' @rjb_loaded = true init_jvm - rescue Exception => e + rescue ::Exception => e @rjb_loaded = false @jvm_init = false @java_error = e