Loading
gradle: fix toolchains test
The test was incorrectly comparing the full value of the java.version system property returned by the JVM at runtime with the major version of the Nix package. After this change the test does a prefix comparison between the system property value and the nix package version, e.g. it will check whether 23.0.2+7 (Nix package version) starts with 23.0.2 (system property). Furthermore the test now logs the expected and actual values in case of a missmatch.