mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
JDT APT copies a project's annotation processor jars into a new jdt-apt-* folder in the system temp directory for each processor class loader, and deletes them only when the JVM exits normally. jdtls stopped by the IDE never does, and on Windows the jars are still open at exit, so every start left another copy behind (tens of GB in %TEMP% after a while). jdtls now gets -Djava.io.tmpdir=<workspace>/.tmp for the workspaces the IDE creates, and that folder is emptied before each start. A temp directory set in the user's JVM arguments, and a -data workspace of the user's own, are left alone. Fixes #4192