### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: model/org/eclipse/jdt/core/IJavaProject.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IJavaProject.java,v retrieving revision 1.104 diff -u -r1.104 IJavaProject.java --- model/org/eclipse/jdt/core/IJavaProject.java 2 Mar 2010 06:46:01 -0000 1.104 +++ model/org/eclipse/jdt/core/IJavaProject.java 4 Dec 2010 02:38:23 -0000 @@ -204,17 +204,17 @@ throws JavaModelException; /** * Returns the existing package fragment roots identified by the given entry. - * Note that a classpath entry that refers to another project may - * have more than one root (if that project has more than on root - * containing source), and classpath entries within the current - * project identify a single root. + * A classpath entry within the current project identifies a single root. *

* If the classpath entry denotes a variable, it will be resolved and return * the roots of the target entry (empty if not resolvable). *

* If the classpath entry denotes a container, it will be resolved and return * the roots corresponding to the set of container entries (empty if not resolvable). - * + *

+ * The result does not include package fragment roots in other projects + * referenced on this project's classpath. + * * @param entry the given entry * @return the existing package fragment roots identified by the given entry * @see IClasspathContainer @@ -515,17 +515,17 @@ /** * Returns the existing package fragment roots identified by the given entry. - * Note that a classpath entry that refers to another project may - * have more than one root (if that project has more than on root - * containing source), and classpath entries within the current - * project identify a single root. + * A classpath entry within the current project identifies a single root. *

* If the classpath entry denotes a variable, it will be resolved and return * the roots of the target entry (empty if not resolvable). *

* If the classpath entry denotes a container, it will be resolved and return * the roots corresponding to the set of container entries (empty if not resolvable). - * + *

+ * The result does not include package fragment roots in other projects + * referenced on this project's classpath. + * * @param entry the given entry * @return the existing package fragment roots identified by the given entry * @see IClasspathContainer