Incompatibilities with JDK 15 CharSequence.isEmpty