Real fix for Java 7 Update 25

Thanks @V10lator!

Signed-off-by: Steven Downer <grinch@outlook.com>