### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: model/org/eclipse/jdt/internal/core/ClasspathEntry.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java,v retrieving revision 1.126 diff -u -r1.126 ClasspathEntry.java --- model/org/eclipse/jdt/internal/core/ClasspathEntry.java 25 Oct 2010 10:29:40 -0000 1.126 +++ model/org/eclipse/jdt/internal/core/ClasspathEntry.java 26 Oct 2010 14:12:01 -0000 @@ -2143,7 +2143,7 @@ } catch (CoreException e) { if (e.getStatus().getMessage() == Messages.status_IOException) { return new JavaModelStatus(IJavaModelStatusConstants.INVALID_CLASSPATH, Messages.bind( - Messages.classpath_illegalLibraryArchive, + Messages.classpath_archiveReadError, new String[] {entryPathMsg, project.getElementName()})); } } Index: model/org/eclipse/jdt/internal/core/util/Messages.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Messages.java,v retrieving revision 1.28 diff -u -r1.28 Messages.java --- model/org/eclipse/jdt/internal/core/util/Messages.java 11 Nov 2009 14:35:55 -0000 1.28 +++ model/org/eclipse/jdt/internal/core/util/Messages.java 26 Oct 2010 14:12:01 -0000 @@ -151,6 +151,7 @@ public static String classpath_illegalLibraryPath; public static String classpath_illegalLibraryPathInContainer; public static String classpath_illegalLibraryArchive; + public static String classpath_archiveReadError; public static String classpath_illegalExternalFolder; public static String classpath_illegalExternalFolderInContainer; public static String classpath_illegalProjectPath; Index: model/org/eclipse/jdt/internal/core/util/messages.properties =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/messages.properties,v retrieving revision 1.80 diff -u -r1.80 messages.properties --- model/org/eclipse/jdt/internal/core/util/messages.properties 11 May 2010 18:47:09 -0000 1.80 +++ model/org/eclipse/jdt/internal/core/util/messages.properties 26 Oct 2010 14:12:01 -0000 @@ -147,6 +147,7 @@ classpath_illegalLibraryPath = Illegal path for required library: ''{0}'' in project ''{1}'' classpath_illegalLibraryPathInContainer = Illegal path for required library: ''{0}'' in the {1} classpath_illegalLibraryArchive = Illegal type of archive for required library: ''{0}'' in project ''{1}'' +classpath_archiveReadError = Archive for required library: ''{0}'' in project ''{1}'' cannot be read or is not a valid ZIP file classpath_illegalExternalFolder = Required library cannot denote external folder: ''{0}'' for project ''{1}'' classpath_illegalExternalFolderInContainer = Required library cannot denote external folder: ''{0}'' in the {1} classpath_illegalProjectPath = Illegal path for required project: ''{0}'' in project ''{1}'' #P org.eclipse.jdt.core.tests.model Index: src/org/eclipse/jdt/core/tests/model/ClasspathTests.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ClasspathTests.java,v retrieving revision 1.219 diff -u -r1.219 ClasspathTests.java --- src/org/eclipse/jdt/core/tests/model/ClasspathTests.java 25 Oct 2010 10:30:07 -0000 1.219 +++ src/org/eclipse/jdt/core/tests/model/ClasspathTests.java 26 Oct 2010 14:12:04 -0000 @@ -6882,7 +6882,7 @@ createFile("/P/library.jar", ""); setClasspath(p, new IClasspathEntry[] { JavaCore.newLibraryEntry(new Path("/P/library.jar"), null,null)}); assertMarkers("Expected marker", - "Illegal type of archive for required library: \'library.jar\' in project \'P\'", p); + "Archive for required library: \'library.jar\' in project \'P\' cannot be read or is not a valid ZIP file", p); setClasspath(p, new IClasspathEntry[0]); addLibrary(p, "library.jar", null, new String[0], new String[] {