funny thing, don’t know if it’s just me or, but create a working class and place a single line comment on the las line and compile…
the error i’m getting is:
unclosed comment
}//eh?
^
1 error
is this something normal?
funny thing, don’t know if it’s just me or, but create a working class and place a single line comment on the las line and compile…
the error i’m getting is:
unclosed comment
}//eh?
^
1 error
is this something normal?
I seem to recall (but my memory often fails me) that the last line must end in a carriage return.
Cas
Java language spec says that a singleline comment starts with ‘\’ and ends with LF.
Before 1.4.1-rc, this has been ignored and an EOF has been accepted instead of the LF as well.
So it is not a bug in the 1.4.1-rc compiler, but a bug-fix!
Sun says they will re-introduce the bug with the release of 1.4.1.
Meanwhile I updated all our sources to make it truely compliant with the language spec .
[quote]So it is not a bug in the 1.4.1-rc compiler, but a bug-fix!
[/quote]
:o Gotta be my favorite quote of the week…