Bug 211861 - [push down] does not check for all possible references to the method being pushed
Summary: [push down] does not check for all possible references to the method being pu...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 31862 195004 395862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-04 05:45 EST by Max Schaefer CLA
Modified: 2023-03-04 17:00 EST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Schaefer CLA 2007-12-04 05:45:53 EST
Build ID: M20070212-1330

Steps To Reproduce:
Test case:

class A {
  void m() { }
}
class B extends A {
  public static void main(String[] args) {
    new A().m();
  }
}

Pushing down A.m into B does not detect the reference to A.m in B.main, so the resulting program fails to compile.

More information:
Comment 1 Martin Aeschlimann CLA 2007-12-04 06:13:01 EST
*** Bug 31862 has been marked as a duplicate of this bug. ***
Comment 2 Deepak Azad CLA 2010-06-15 16:02:59 EDT
*** Bug 195004 has been marked as a duplicate of this bug. ***
Comment 3 Martin Mathew CLA 2012-12-18 00:08:33 EST
*** Bug 395862 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Genie CLA 2019-03-12 18:09:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Dani Megert CLA 2019-03-22 12:10:41 EDT
Still an issue in 4.11.
Comment 6 Eclipse Genie CLA 2021-03-12 04:07:47 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Eclipse Genie CLA 2023-03-04 17:00:39 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.