Fix for #275: do not register Java 8 Date/Time built-in methods if the types are not available