The reason why I mentioned that was because I wasn't aware of how the implementation code which deals with loading that service would deal with such an error. If it just logs out an error and continues to use the other engine factory, then I guess it should be fine. 

Or maybe a better way would be to have Java 8 specific sun-jdk module?