Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356417

Summary: DeltaProcessor lost updates
Product: [Eclipse Project] JDT Reporter: Galileo Perez <galileo>
Component: CoreAssignee: Jay Arthanareeswaran <jarthana>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, daniel_megert, Olivier_Thomann, shr31223, srikanth_sankaran
Version: 3.4   
Target Milestone: 3.4.2+   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Galileo Perez CLA 2011-08-31 17:46:48 EDT
Build Identifier: M20091008-1320

I have a ContentProvider with a delta already set,this delta is passed as argument to trasverseDelta(IResourceDelta delta,int elementType,RootInfo rootInfo,OutputsInfo outputsInfo), this method processes the delta but loses some of the delta info returning a delta with less data than expected. 
It causes the PackageExplorerContentProvider not refreshing the nodes from a JAR file from a referenced project and Included in the classpath. 

Reproducible: Always

Steps to Reproduce:
Using WTP
1. Add an EAR Project with a webProject.war as module and a JAR file as utility project, also add an Utility JAR file
2. Add a reference from the webProject to the JAR file
3. Create new classes into the utility project
4. Add new classes to the utility project
5. Copy the new .class files into the JAR file with the same structure as the source project
6. Expand the child nodes of the WebProject until the JAR library childs
7. Refresh the EAR project on the Project Explorer view(The webProject should add the new classes added to the jar file)
Comment 1 Dani Megert CLA 2011-09-01 02:25:03 EDT
This looks like bug bug 305172. Please try 3.7.
Comment 2 Galileo Perez CLA 2011-09-26 12:42:42 EDT
The bug seems to be really similar to the one reported on bug 305172 but unfortunately is not possible to use 3.7 version of Eclipse since adopter product uses the reported version. 

Also tried to apply the patch for version 3.6 but the patch seems to be invalid to applied through the Eclipse/CVS UI and trying to do it manually I found a lot of changes between classes related to this bug for Eclipse 3.4 version and classes for Eclipse 3.6 version that can broke other functions .
Comment 3 Dani Megert CLA 2011-10-03 04:41:15 EDT

*** This bug has been marked as a duplicate of bug 305172 ***
Comment 4 Srikanth Sankaran CLA 2011-10-25 05:41:40 EDT
Verified to be a duplicate at 3.8 M3 timeframe.