aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Parker2011-10-31 15:44:24 (EDT)
committerAyushman Jain2011-10-31 15:44:24 (EDT)
commit563f107c1a60920f25930d8da70dd8b0be61372c (patch)
treea80e67a91f44413eb189c63c91e74f14133e71e9
parente8dcde7054627e60ae6e2210fd96dea3c0d1010e (diff)
downloadeclipse.jdt.core-563f107c1a60920f25930d8da70dd8b0be61372c.zip
eclipse.jdt.core-563f107c1a60920f25930d8da70dd8b0be61372c.tar.gz
eclipse.jdt.core-563f107c1a60920f25930d8da70dd8b0be61372c.tar.bz2
HEAD - Fixed bug 361922: Fup of 357425: ensure all reported regressions
are witnessed by tests
-rw-r--r--org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java10
-rw-r--r--org.eclipse.jdt.core/buildnotes_jdt-core.html4
2 files changed, 10 insertions, 4 deletions
diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java
index 5f0c5bf..fcbe28f 100644
--- a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java
+++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java
@@ -7,6 +7,8 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Terry Parker <tparker@google.com> - DeltaProcessor misses state changes in archive files, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=357425,
+ * Fup of 357425: ensure all reported regressions are witnessed by tests, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=361922
*******************************************************************************/
package org.eclipse.jdt.core.tests.model;
@@ -4211,12 +4213,14 @@ public void testInvalidExternalJar() throws CoreException {
public void testTransitionFromInvalidToValidJar() throws CoreException, IOException {
String transitioningJarName = "transitioningJar.jar";
String transitioningJar = getExternalPath() + transitioningJarName;
- String nonExistingJar = getExternalPath() + "nonExisting.jar";
+ String invalidJar = getExternalPath() + "invalidJar.jar";
IClasspathEntry transitioningEntry = JavaCore.newLibraryEntry(new Path(transitioningJar), null, null);
- IClasspathEntry nonExistingEntry = JavaCore.newLibraryEntry(new Path(nonExistingJar), null, null);
+ IClasspathEntry nonExistingEntry = JavaCore.newLibraryEntry(new Path(invalidJar), null, null);
try {
- IJavaProject proj = createJavaProject("P", new String[] {}, new String[] {transitioningJar, nonExistingJar}, "bin");
+ Util.createFile(transitioningJar, "");
+ Util.createFile(invalidJar, "");
+ IJavaProject proj = createJavaProject("P", new String[] {}, new String[] {transitioningJar, invalidJar}, "bin");
IJavaModelStatus status1 = ClasspathEntry.validateClasspathEntry(proj, transitioningEntry, false, false);
IJavaModelStatus status2 = ClasspathEntry.validateClasspathEntry(proj, nonExistingEntry, false, false);
diff --git a/org.eclipse.jdt.core/buildnotes_jdt-core.html b/org.eclipse.jdt.core/buildnotes_jdt-core.html
index 9df58a8..24d35bb 100644
--- a/org.eclipse.jdt.core/buildnotes_jdt-core.html
+++ b/org.eclipse.jdt.core/buildnotes_jdt-core.html
@@ -52,7 +52,9 @@ Eclipse SDK 3.8.0 - %date% - 3.8.0 M4
<h2>What's new in this drop</h2>
<h3>Problem Reports Fixed</h3>
-<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a>
+<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=361922">361922</a>
+Fup of 357425: ensure all reported regressions are witnessed by tests
+<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=354766">354766</a>
Javadoc content does not appear in content assist info window for non-static inner class constructors
<a name="v_C18"></a>