Menu

#68 Missing LF after last comment line

closed-fixed
None
1
2002-08-06
2002-06-03
No

If the last line of a Java source contains a single line
comment then there has to be a LF behind that line.
Jalopy removes that LF. javac 1.5 complains while
compiling such a source.

Discussion

  • Marco Hunsicker

    Marco Hunsicker - 2002-06-03

    Logged In: YES
    user_id=44430

    Hm, javac 1.5. I don't know this stuff. Anyway, it's not difficult
    to change that. Next beta.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-06-03
    • assigned_to: nobody --> marcohu
     
  • Thomas Boerkel

    Thomas Boerkel - 2002-06-04

    Logged In: YES
    user_id=557385

    javac 1.5 preview is included in the Java Generics Package
    1.2 (JSR014). Actually, it's a bug of javac 1.2/1.3/1.4 that it
    compiles a source with no LF behind a comment line. javac
    1.4.1 will report also an error in this case, I've been told.

     
  • Marco Hunsicker

    Marco Hunsicker - 2002-07-28
    • priority: 5 --> 1
     
  • Marco Hunsicker

    Marco Hunsicker - 2002-08-06
    • status: open --> closed-fixed
     

Log in to post a comment.