This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 218891 - Javac instances kept through refactoring
Summary: Javac instances kept through refactoring
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks: 217339
  Show dependency tree
 
Reported: 2012-09-24 09:50 UTC by Jan Lahoda
Modified: 2012-09-26 02:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Chain through RenameRefactoringPlugin.overriddenByMethods (214.05 KB, application/octet-stream)
2012-09-24 09:50 UTC, Jan Lahoda
Details
Chain through ChangeParametersPanel.javadocDoc (215.99 KB, application/octet-stream)
2012-09-24 09:51 UTC, Jan Lahoda
Details
Chain through WhereUsedQuery (210.59 KB, application/octet-stream)
2012-09-24 09:51 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2012-09-24 09:50:34 UTC
Created attachment 124791 [details]
Chain through RenameRefactoringPlugin.overriddenByMethods

See bug #217339#c20 for the context. Instances of javac are (sometimes?) held through various refactorings. In the dump from #217339, I have seen three chains:
-through RenameRefactoringPlugin.overriddenByMethods (Symtab #1) (screenshot: javac-kept-rename-refactoring.png)
-through ChangeParametersPanel.javadocDoc (Symtab #3) (screenshot: javac-kept-change-parameters.png)
-through WhereUsedQuery (Symtab #14) (screenshot: javac-kept-whereused.png)
Comment 1 Jan Lahoda 2012-09-24 09:51:33 UTC
Created attachment 124792 [details]
Chain through ChangeParametersPanel.javadocDoc
Comment 2 Jan Lahoda 2012-09-24 09:51:55 UTC
Created attachment 124793 [details]
Chain through WhereUsedQuery
Comment 3 Ralph Ruijs 2012-09-25 09:38:04 UTC
http://hg.netbeans.org/jet-main/rev/fa23b8a9e46f

The RenameRefactoringPlugin and ChangeParametersPanel have been updated to not hold a reference to Javac. The WhereUsedQuery should already be fixed by #217524
Comment 4 Quality Engineering 2012-09-26 02:09:25 UTC
Integrated into 'main-golden', will be available in build *201209260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fa23b8a9e46f
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #218891 - Javac instances kept through refactoring