jikes empties .java files that have only comments
Brought to you by:
cabbey,
daveshields
When compiling .java files with jikes 1.2.2-1 on Windows XP jikes DELETES the complete content of all files that are composed of comment lines ONLY, i.e., these files are EMPTY after compilation.
The compilation result is an error message:
"Sematic Error, I/O error while trying to open ...".
i can't reproduce this, nor can i see from inspection of the code how it could happen (we don't open source files for writing). please reproduce and then supply exact file contents (before and after running Jikes), the exact command-line used to run Jikes, plus the output of "jikes -version" (there is no version 1.2.2-1).
my suspicion is that there was already a problem with the files before you ran Jikes. (hence the I/O error.)
i also need the *exact* error message. the one you provide in quotes can't possibly be generated by Jikes.