@@ -1908,19 +1908,19 @@ abstract class BspTestDefinitions extends ScalaCliSuite with TestScalaVersionArg
19081908
19091909 test(" BSP respects JAVA_HOME" ) {
19101910 TestUtil .retryOnCi() {
1911- val javaVersion = " 22 "
1911+ val javaVersion = " 23 "
19121912 val inputs = TestInputs (os.rel / " check-java.sc" ->
19131913 s """ assert(System.getProperty("java.version").startsWith(" $javaVersion"))
19141914 |println(System.getProperty("java.home")) """ .stripMargin)
19151915 inputs.fromRoot { root =>
19161916 os.proc(TestUtil .cli, " bloop" , " exit" , " --power" ).call(cwd = root)
1917- val java22Home =
1917+ val java23Home =
19181918 os.Path (
19191919 os.proc(TestUtil .cs, " java-home" , " --jvm" , s " zulu: $javaVersion" ).call().out.trim(),
19201920 os.pwd
19211921 )
19221922 os.proc(TestUtil .cli, " setup-ide" , " check-java.sc" )
1923- .call(cwd = root, env = Map (" JAVA_HOME" -> java22Home .toString()))
1923+ .call(cwd = root, env = Map (" JAVA_HOME" -> java23Home .toString()))
19241924 val ideOptionsPath = root / Constants .workspaceDirName / " ide-options-v2.json"
19251925 expect(ideOptionsPath.toNIO.toFile.exists())
19261926 val ideEnvsPath = root / Constants .workspaceDirName / " ide-envs.json"
@@ -1948,7 +1948,7 @@ abstract class BspTestDefinitions extends ScalaCliSuite with TestScalaVersionArg
19481948
19491949 test(" BSP respects --java-home" ) {
19501950 TestUtil .retryOnCi() {
1951- val javaVersion = " 22 "
1951+ val javaVersion = " 23 "
19521952 val inputs = TestInputs (os.rel / " check-java.sc" ->
19531953 s """ assert(System.getProperty("java.version").startsWith(" $javaVersion"))
19541954 |println(System.getProperty("java.home")) """ .stripMargin)
0 commit comments