1.3.1, 611, win2k
IDEA marks valid syntax for creating new instances of inner classes as an
error. Following is an example:
public class A
{
class B {
public B(String x) {
}
}
B getB(A a) {
return a.new B("hello"); // this line is flagged as an error
}
}
The synatx 'a.new B("hello")' is in fact correct. IDEA flags it with ';
expected'. It compiles fine with both javac and jikes.
Khaled.
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list