Community
Participate
Working Groups
Steps to reproduce: Create a new Web Client Project. Create a new RUI Handler in that project with the following source. package client; // RUI Handler import org.eclipse.edt.rui.history.HistoryHelper; // // handler testRef type RUIhandler{ onConstructionFunction = start, cssFile = "css/testIR.css", title = "testRef"} function start() if( new HistoryHelper{}.isIE()) // The HistoryHelper is not included in the ref parts syslib.writeStdout("In IE"); end end end The handler use new HistoryHelper{} to reference HistoryHelper, but historyHelper does not contained in the IRUtils.getReferencedPartsFor(part) list. If we define HistoryHelper as a field, it it included in the list.
*** Bug 358912 has been marked as a duplicate of this bug. ***
This was fixed with a change to IRUtils.PartsReferenceResolver to fix bug 357247 (on 9/26/2011).
Verified in Build 201110302101