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

Bug 240713

Summary: [regression][ssh] IllegalArgumentException in SftpFileService.getRoots()
Product: [Tools] Target Management Reporter: Martin Oberhuber <mober.at+eclipse>
Component: RSEAssignee: Martin Oberhuber <mober.at+eclipse>
Status: RESOLVED INVALID QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 235472    
Bug Blocks:    

Description Martin Oberhuber CLA 2008-07-14 15:21:38 EDT
+++ This bug was initially created as a clone of Bug #235472 +++

The fix for bug 235472 introduced the problem that creating a proper file system root for "/" raised an IllegalArgumentException. This was exposed by the FileServiceTest Unittest:

java.lang.IllegalArgumentException
	at org.eclipse.rse.internal.services.ssh.files.SftpHostFile.<init>(SftpHostFile.java:58)
	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.getRoots(SftpFileService.java:872)
	at org.eclipse.rse.tests.subsystems.files.FileServiceTest.testGetRootProperties(FileServiceTest.java:136)
Comment 1 Martin Oberhuber CLA 2008-07-14 18:38:45 EDT
The bug is actually invalid, since the erroneous patch for bug 235472 had never been committed.