-
Bug
-
Resolution: Fixed
-
P4
-
repo-amber
-
generic
-
generic
Javac needlessly invoked L2M in the following case:
public class LocalMethodsNoL2MTest {
public void foo() {
class Inner {
void goo() {
}
}
}
}
goo() is not a local method, but it is mistakenly deemed to be.
This is a rather benign situation as it does not cause any issues,
but is a waste of compile time resources.
public class LocalMethodsNoL2MTest {
public void foo() {
class Inner {
void goo() {
}
}
}
}
goo() is not a local method, but it is mistakenly deemed to be.
This is a rather benign situation as it does not cause any issues,
but is a waste of compile time resources.