minor fixes to providers

3 jobs for 4-fix-javax-problems-due-to-its-removal-from-java-11