Fixing Jar security issues