Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366810 - 'org.eclipse.swt.examples' has wrong Java build path
Summary: 'org.eclipse.swt.examples' has wrong Java build path
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.8 M5   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 09:22 EST by Dani Megert CLA
Modified: 2012-01-24 13:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-12-15 09:22:37 EST
'org.eclipse.swt.examples' has wrong Java build path: the JRE System Library should point the 'J2SE-1.4' execution environment and not the workspace default JRE.
Comment 1 Felipe Heidrich CLA 2012-01-11 14:26:55 EST
fixed
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=ff22354677b5d9a3279f7c1ed7dedaeab283bd03

out of curiosity, how did you find this bug Dani ?
Comment 2 Dani Megert CLA 2012-01-12 02:10:45 EST
> out of curiosity, how did you find this bug Dani ?

Just take a look at the warnings ;-)

You should set the following project setting
    Plug-in Manifest Compiler > Incompatible environment
to 'Error'. This will make sure that in the future the problem gets detected easier.