Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 323299 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java (+10 lines)
Lines 67-72 Link Here
67
 * David McKnight   (IBM)        - [309813] RSE permits opening of file after access removed
67
 * David McKnight   (IBM)        - [309813] RSE permits opening of file after access removed
68
 * David McKnight   (IBM)        - [308221] Bidi3.6: Improper display of date in Properties and Table Views
68
 * David McKnight   (IBM)        - [308221] Bidi3.6: Improper display of date in Properties and Table Views
69
 * David McKnight   (IBM)        - [317541] Show blank as the last modified for a file with no last modified
69
 * David McKnight   (IBM)        - [317541] Show blank as the last modified for a file with no last modified
70
 * David McKnight   (IBM)        - [323299] [files] remote file view adapter needs to use the latest version of IRemoteFile
70
 *******************************************************************************/
71
 *******************************************************************************/
71
72
72
package org.eclipse.rse.internal.files.ui.view;
73
package org.eclipse.rse.internal.files.ui.view;
Lines 168-173 Link Here
168
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFile;
169
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFile;
169
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileEmpty;
170
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileEmpty;
170
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileRoot;
171
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileRoot;
172
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem;
171
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResultsContentsType;
173
import org.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResultsContentsType;
172
import org.eclipse.rse.subsystems.files.core.util.ValidatorFileUniqueName;
174
import org.eclipse.rse.subsystems.files.core.util.ValidatorFileUniqueName;
173
import org.eclipse.rse.ui.ISystemContextMenuConstants;
175
import org.eclipse.rse.ui.ISystemContextMenuConstants;
Lines 647-652 Link Here
647
			return ((RemoteFileRoot) file).getRootFiles();
649
			return ((RemoteFileRoot) file).getRootFiles();
648
		}
650
		}
649
		IRemoteFileSubSystem ss = file.getParentRemoteFileSubSystem();
651
		IRemoteFileSubSystem ss = file.getParentRemoteFileSubSystem();
652
		
653
		// make sure we have the lastest cached version otherwise could be working with a bad file that never got marked as stale
654
		if (ss instanceof RemoteFileSubSystem){
655
			IRemoteFile cachedFile = ((RemoteFileSubSystem)ss).getCachedRemoteFile(file.getAbsolutePath());
656
			if (cachedFile != null){
657
				file = cachedFile;
658
			}
659
		}
650
660
651
661
652
		/*
662
		/*

Return to bug 323299