Migrate to get this running on JDK 9+178 and don't fail with IndexOutOfBounceException which is caused by commons-lang 2.4.