### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: model/org/eclipse/jdt/internal/core/util/ResourceCompilationUnit.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ResourceCompilationUnit.java,v retrieving revision 1.5 diff -u -r1.5 ResourceCompilationUnit.java --- model/org/eclipse/jdt/internal/core/util/ResourceCompilationUnit.java 29 Mar 2006 03:14:00 -0000 1.5 +++ model/org/eclipse/jdt/internal/core/util/ResourceCompilationUnit.java 20 Jun 2006 15:08:21 -0000 @@ -25,7 +25,7 @@ private IFile file; public ResourceCompilationUnit(IFile file, URI location) { - super(null/*no contents*/, location == null ? file.getFullPath().toString() : location.getSchemeSpecificPart(), null/*encoding is used only when retrieving the contents*/); + super(null/*no contents*/, location == null ? file.getFullPath().toString() : location.getPath(), null/*encoding is used only when retrieving the contents*/); this.file = file; }