Merge "selectNative*Factory() throws exception when no factories available."