Bug 570993 - [dogfooding][cleanup] Use static inner class instead of inner class when reference to creator is not needed
Summary: [dogfooding][cleanup] Use static inner class instead of inner class when refe...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.19   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 14:19 EST by Carsten Hammer CLA
Modified: 2023-02-11 17:05 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Hammer CLA 2021-02-06 14:19:59 EST
When a class is an inner class, but does not use its embedded reference
to the object which created it this reference makes the instances of
the class larger, and may keep the reference to the creator object alive
longer than necessary.  If possible, the class should be made static.
Comment 1 Eclipse Genie CLA 2023-02-11 17:05:15 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.