Bug 42832 - Cannot get rid of this error even if the compiler settings is ignore for incompatible required binaries
Summary: Cannot get rid of this error even if the compiler settings is ignore for inco...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-09 16:41 EDT by Olivier Thomann CLA
Modified: 2003-10-13 05:42 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 Olivier Thomann CLA 2003-09-09 16:41:23 EDT
Using M3 and a JDK 1.4 as my default libraries, I get this warning and I cannot
get rid of it.

Incompatible .class files version in required binaries. Project
'org.eclipse.jdt.core.tests.formatter' is targeting a 1.1 runtime, but is
compiled against 'D:JDKs/jdk1.4.1_02/jre/lib/ext/ldapsec.jar' which requires a
1.4 runtime.	

My compiler settings for this project is to ignore incompatible required binaries.
Comment 1 Philipe Mulet CLA 2003-09-19 07:19:42 EDT
Cannot reproduce. Once using custom project settings, these go away, no matter 
whether the preference is enabled on workspace settings.
Comment 2 Philipe Mulet CLA 2003-09-22 08:24:42 EDT
Reproduced. Problem is induced by dependent projects having this warning 
enabled.
Comment 3 Philipe Mulet CLA 2003-09-22 08:56:57 EDT
Side problem: there were 2 occurrences of the complaint about 
incompatible .classfile versions for rt.jar.

This comes from the fact that the validation code was recursing in containers, 
then re-processing entries one by one and revalidating them (so as to 
accumulate problems). 
Comment 4 Philipe Mulet CLA 2003-09-22 09:25:22 EDT
Fixed both issues.
Comment 5 David Audel CLA 2003-10-13 05:42:22 EDT
Verified.