Build 629
W2000
I have a method with a signature as follows:
method(String p1, String p2, String p3, Serializable p4)
I call this method like this:
Long[] array = ... // something
someObj.method("string1", "string2", "string3", array);
(Note: the array is java.lang.Long[] not long[] !)
This is of course legal, since Long[] implicitely implements "Serializable".
I do not get any problems from the compiler either.
However, the editor underlines the "method"-call with the wavy red syntax
error marking and gives the following message:
"method(java.lang.String, java.lang.String, java.lang.String,
java.io.Serializable) in MyClass can not be applied to (java.lang.String,
java.lang.String, java.lang.String, java.lang.Long[])".
This is of course not correct.
Johannes
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs