-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: tools
-
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.