Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314887

Summary: Check for corrupted jar files when adding them to the classpath
Product: [Eclipse Project] JDT Reporter: Luciana Moreira <moreira>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: hauser, markus.kell.r, moreira, pwebster
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Luciana Moreira CLA 2010-05-28 10:55:24 EDT
Build Identifier: 20090621-0832

After adding many jar files to the project classpath I got an error in the Java editor every time that I tried to press F3 to open a class, even though the project apparently had no errors.

It turns out that a license.txt was also added together with the jar files to the classpath. Eclipse did not show an error on the build classpath screen nor when I pressed F3. It would be useful if Eclipse could verify if the jar/zip files are:
1) Not corrupt
2) Are indeed a jar file

Reproducible: Always

Steps to Reproduce:
1.Add a .txt file as a jar in the classfile
2.Try to open a class with F3
Comment 1 Markus Keller CLA 2010-05-28 12:26:47 EDT

*** This bug has been marked as a duplicate of bug 229038 ***