Menu

#914 jikes empties .java files that have only comments

open
open
parser (295)
5
2004-12-11
2004-12-07
Anonymous
No

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 ...".

Discussion

  • Elliott Hughes

    Elliott Hughes - 2004-12-11
    • assigned_to: nobody --> enh
    • summary: jikes DELETES .java files that have only comments --> jikes empties .java files that have only comments
     
  • Elliott Hughes

    Elliott Hughes - 2004-12-11

    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.)

     
  • Elliott Hughes

    Elliott Hughes - 2004-12-11

    i also need the *exact* error message. the one you provide in quotes can't possibly be generated by Jikes.

     

Log in to post a comment.

MongoDB Logo MongoDB