Java doc updated
Change-Id: I5a59cd9ff761dd3896c1be79c88dbb7f012dc907
diff --git a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/IRuntimeClasspathEntry.java b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/IRuntimeClasspathEntry.java
index 8b25ce5..265c19d 100644
--- a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/IRuntimeClasspathEntry.java
+++ b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/IRuntimeClasspathEntry.java
@@ -96,11 +96,15 @@
public static final int USER_CLASSES = 3;
/**
+ * Classpath property identifier for entries that should appear on the module path for modular project.
+ *
* @since 3.10
*/
public static final int MODULE_PATH = 4;
/**
+ * Classpath property identifier for entries that should appear on the class path for modular project.
+ *
* @since 3.10
*/
public static final int CLASS_PATH = 5;
diff --git a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
index f11f2d7..a31008a 100644
--- a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
+++ b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
@@ -768,16 +768,6 @@
}
/**
- * @since 3.10
- */
- public static IRuntimeClasspathEntry newRuntimeContainerClasspathEntry(IClasspathEntry entry, IJavaProject project) {
- RuntimeClasspathEntry runTimeEntry = new RuntimeClasspathEntry(entry, isModule(entry, project) ? IRuntimeClasspathEntry.MODULE_PATH
- : IRuntimeClasspathEntry.CLASS_PATH);
- runTimeEntry.setJavaProject(project);
- return runTimeEntry;
- }
-
- /**
* Returns a runtime classpath entry constructed from the given memento.
*
* @param memento a memento for a runtime classpath entry
@@ -895,13 +885,13 @@
}
/**
- * Computes and returns the default unresolved runtime classpath for the given project.
+ * Computes and returns the default unresolved runtime classpath and modulepath for the given project.
*
* @param project
- * the {@link IJavaProject} to compute the unresolved runtime classpath for
- * @return runtime classpath entries
+ * the {@link IJavaProject} to compute the unresolved runtime classpath and modulepath for
+ * @return runtime classpath and modulepath entries
* @exception CoreException
- * if unable to compute the runtime classpath
+ * if unable to compute the runtime classpath and/or modulepath
* @see IRuntimeClasspathEntry
* @since 3.10
*/
@@ -984,7 +974,7 @@
}
/**
- * Checks if classpath entry is module.
+ * Checks if classpath entry is modular and project is modular .
*
* @param entry
* the classpath entry
@@ -1030,7 +1020,7 @@
}
/**
- * Checks if vm install is modular.
+ * Checks if vm install is modular( version greater than 8).
*
* @param entry
* the vm install
@@ -2408,12 +2398,12 @@
}
/**
- * Returns a runtime classpath entry identifying the JRE referenced by the specified project, or <code>null</code> if none. The entry returned
- * represents a either a classpath variable or classpath container that resolves to a JRE.
+ * Returns a runtime classpath or modulepath entry identifying the JRE referenced by the specified project, or <code>null</code> if none. The
+ * entry returned represents a either a classpath variable or classpath container that resolves to a JRE.
*
* @param project
* Java project
- * @return JRE runtime classpath entry or <code>null</code>
+ * @return JRE runtime classpath or modulepath entry or <code>null</code>
* @exception org.eclipse.core.runtime.CoreException
* if an exception occurs accessing the project's classpath
* @since 3.10