The following variable declaration is invalid:

synchronized Object x;

The javac compiler says:
    Error:  line (5) modifier synchronized not allowed here

I would expect the IntelliJ syntax checker (the yellow/red markers on the
right of the editor) to flag this as an error.

Just out of curiosity, how does the syntax checker work? Does it tie into
the compiler, or is it a completely independent body of code?


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to