Community
Participate
Working Groups
Build Identifier: 20110213-1648 From the discussion about underhanded code in http://thedailywtf.com/Comments/The-Disgruntled-Bomb.aspx, comment http://thedailywtf.com/Comments/The-Disgruntled-Bomb.aspx?pg=5#340905 Reproducible: Always Steps to Reproduce: Paste the following in a Java file // This is a friendly comment \u000A nasty code here The whole line is painted as a comment. The incremental compiler immediately notices "nasty code here" as invalid code. While contrived, it isn't nice that syntax highlighting and parsing diverge. Source->Format does the right thing: it breaks the line. Real, nasty code that is valid could be a problem, otherwise I'd call it minor.
Move to JDT/Text
*** This bug has been marked as a duplicate of bug 3533 ***