Bug 38172 - Non-deprecated classes in jar files are marked as deprecated
Summary: Non-deprecated classes in jar files are marked as deprecated
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-27 16:11 EDT by Mike CLA
Modified: 2003-07-18 06:58 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 Mike CLA 2003-05-27 16:11:10 EDT
I am working with a project that requires about ten external jars.  I am able 
to add them to the project in the package explorer and I can correctly expand 
the tree in the package explorer to any class in the package.  However, with a 
certain jar file (Apache Jakarta's commons-collections.jar, version 2.1), there 
are some classes that get flagged as deprecated when I try to use them in the 
editor and many of their methods (but not all) are not appearing in the auto-
complete dropdown.  When I type in the name of the method for this class and 
try to compile it, it gives an error as follows:
The method <method> is undefined for the type <class>
I know that the neither the class nor the methods are deprecated and that the 
jar file is correct.  The class (ListUtils) was deprecated at one time but has 
since been un-deprecated.
Comment 1 Philipe Mulet CLA 2003-05-27 17:55:35 EDT
Can you provide exact steps to reproduce?
Comment 2 Mike CLA 2003-06-02 11:22:06 EDT
After further review, I think that the problem is in the jar file.  I tried 
compiling it from a command line compiler and got the same error.