This fix prevents from getting errors while running code with major releases of Java. Since release 9, Java has this strange convention of setting JVMs version to # and then, with further releases it becomes #.#.#.
It means, that with each new, major release, there is an error while evaluating this one:
This fix prevents from getting errors while running code with major releases of Java. Since release 9, Java has this strange convention of setting JVMs version to # and then, with further releases it becomes #.#.#.
It means, that with each new, major release, there is an error while evaluating this one:
Integer.parseInt(version.substring(0, dot));