List.of() should be Java 17, but why is the symbol not found at gradle build - gradle 9 is JDK17+?!
Compiling with toolchain 'C:\Users\koppor\.jdks\corretto-17.0.2'.
Compiling with JDK Java compiler API.
C
\git repositories\gradle\subprojects\core\src\main\java\org\gradle\process\internal\JavaExecHandleBuilder.java435: error: cannot find symbol
return List.of("@" + argsFile.getAbsolutePath());
^
symbol: method of(String)
location: interface List
1 error
Maybe I am reading
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html#of() wrong?!