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

Bug 373258

Summary: Compilation errors in the org.eclipse.equinox.util
Product: [Eclipse Project] Equinox Reporter: Krzysztof Daniel <krzysztof.daniel>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: krzysztof.daniel, tjwatson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 369224    
Bug Blocks:    

Description Krzysztof Daniel CLA 2012-03-05 10:25:20 EST
When I checkout the code I can see:

Incompatible conditional operand types T and Executor	ThreadPoolManagerImpl.java	/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/impl/tpt/threadpool	line 84	Java Problem

Incompatible conditional operand types T and T	PrivilegedRunner.java	/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/security	line 102	Java Problem
Comment 1 Thomas Watson CLA 2012-03-05 14:31:43 EST
I have seen this when I do not have an JRE defined in my workspace that is a match for the OSGi/Minimum execution environment.

I used the OSGi ee files contained here:

http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.osgi/osgi

For example, the OSGi_Minimum-1.2.ee file points to the http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.osgi/osgi/ee.minimum-1.2.0.jar jar to compile against.  You can use the OSGi_Minimum-1.2.ee file to add a JRE to your workspace by using it as an "Execution Environment Description".