Check for JDK8 default methods.
Moving codecs from crypto.