When JAXBContextFactory implementation is specified by means of jaxb.properties file, JAXBContext.newInstance throws NPE - please see the attached minimized testcase. This was verified on JDK9b94.