sbt / zinc

Scala incremental compiler library, used by sbt and other build tools
Apache License 2.0
333 stars 118 forks source link

[2.x] Create empty output jar before compilation #1370

Closed adpi2 closed 2 months ago

adpi2 commented 2 months ago

In some Java version (e.g., temurin:11.0.23), the Scala 3 compiler crashes if the jar output file does not exist.

adpi2 commented 2 months ago

Actually it does not solve the issue, because the compiler always overwrites the jar file with its own and then crashes.