Potential OpenMRS incompatibility with latest release of Java 8

we were working on this issue , but the core seems very incompatible with java 11 and above. probably java 9 was fairly compatible.

see some issues