mirror of https://github.com/sbt/sbt.git
When Java compiler generates warnings about missing annotations from JAR files, the path format is jar:file:///C:/... which causes InvalidPathException on Windows due to the : character. The fix filters out jar: paths in toDocument(), similar to how fake positions like <macro> are already filtered out. This prevents the exception and allows compilation to continue. Diagnostics for files inside JARs are not shown in the IDE, which is correct behavior since they cannot be edited. Fixes #7665 Generated-by: Cascade (AI pair programmer) |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||