Invalid symbolic links on the module source path

Florian Weimer fw at deneb.enyo.de
Sun Jul 19 08:01:46 UTC 2020


Emacs creates dangling symbolic links while source files are edited,
as a form of lock file.  These have names of the form ".#Main.java"
(for a source file called Main.java).  Should javac skip reading these
non-source files, based on their name?

Presently, javac attempts to open these files and reports an error,
terminating the compilation.

(I wonder if there is a reasonably straightforward way to work around
this using a JavaFileManager.)


More information about the compiler-dev mailing list