There is a (valid) compile error in the following
class file, Test.java:

---------------------------------------------------------------
public class Test
     {
     public static void main(String[] args)
         {
         System.out.println("hello!");
         }
     }

z
---------------------------------------------------------------

obviously, the extraneous character in the last
line is the culprit.

The following appears in the messages pane:
Information:  1 error
D:\Trainer\Test.java
     Error: 'class' or 'interface' expected

Please note that the line number is not shown in the messages
pane output.  In addition, using Edit->Source on that line
will open the correct file in the editor...but it does not
move to the correct line - leading to difficult diagnosis.
The Sun compiler properly identifies the line number of the
error.  In addition, exporting the messages to a file from
IDEA shows that the error line was properly identified by
the compiler and recieved by IDEA - but was apparently not
parsed correctly:

Information:  1 error
D:\Trainer\Test.java
     Error:  line (9) 'class' or 'interface' expected

TIA,
Chris

*********************************
Chris Merrill
[EMAIL PROTECTED]
*********************************


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to