Bug 572148

Summary: refreshLocal updates modification stamp where it should not
Product: [Eclipse Project] Platform Reporter: Vladimir Piskarev <pisv>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Test project none

Description Vladimir Piskarev CLA 2021-03-21 13:35:03 EDT
Created attachment 285900 [details]
Test project

Assuming that file currently exists in the workspace, the following call to #refreshLocal updates the modification stamp of the file:

        IFolder folder = file.getParent().getFolder(new Path(file.getName()));
        folder.refreshLocal(IResource.DEPTH_ZERO, null);

Please find a failing unit test attached.