Bug 229236 - [compiler][batch] allow files which name does not end with jar or zip as classpath entries
Summary: [compiler][batch] allow files which name does not end with jar or zip as clas...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-29 03:45 EDT by Maxime Daniel CLA
Modified: 2008-04-29 03:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2008-04-29 03:45:06 EDT
3.4 M7
Following bug 182360 that relaxes constraints applicable to files that are on classpath entries (contents must be using zip format, name can be arbitrary - while is previously had to end with .jar or .zip), the batch compiler benefits from the same, except that it still forbids files which names end with .class or .java. 

Contrasting this with javac, we can observe that:
- for versions up to 1.5, javac would only accept jar and zip extensions;
- starting with 1.6, javac would accept any extension.

I believe we should align with javac 1.6 and following.