-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: repo-amber
-
Fix Version/s: repo-amber
-
Component/s: tools
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS: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.