-
Type:
Bug
-
Status: New
-
Priority:
P4
-
Resolution: Unresolved
-
Affects Version/s: repo-amber
-
Fix Version/s: repo-amber
-
Component/s: tools
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:generic
To support forward references, a local method should always be assumed to be reachable:
The following does not compile as of now:
public class X {
{
throw new AssertionError("Blah");
int foo() {
int x = 19;
return x;
}
int y = 42;
}
public static void main(String args []) {
}
}
The following does not compile as of now:
public class X {
{
throw new AssertionError("Blah");
int foo() {
int x = 19;
return x;
}
int y = 42;
}
public static void main(String args []) {
}
}