-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
generic
-
generic
Compiling this program:
public class X {
public static void main(String [] args) {
if (args __matches Object []) {
System.out.println("Blah");
}
}
}
// ---
elicits:
/home/srikanth/tmp/X.java:3: error: unexpected type
if (args __matches Object []) {
^
required: value
found: class
1 error
Not sure what to make of it.
public class X {
public static void main(String [] args) {
if (args __matches Object []) {
System.out.println("Blah");
}
}
}
// ---
elicits:
/home/srikanth/tmp/X.java:3: error: unexpected type
if (args __matches Object []) {
^
required: value
found: class
1 error
Not sure what to make of it.