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

Bug 364222

Summary: JREAction generates wrong IU for JavaSE-1.7 profile
Product: [Eclipse Project] Equinox Reporter: Igor Fedorenko <igor>
Component: p2Assignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan.sievers, t-oberlies
Version: 3.8.0 Juno   
Target Milestone: Juno M5   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 364095    
Attachments:
Description Flags
proposed fix
none
original patch in diff format dj.houghton: iplog+

Description Igor Fedorenko CLA 2011-11-19 11:00:08 EST
Looks like JREAction silently ignores JavaSE-1.7 profile and uses currently installed JRE instead.
Comment 1 Igor Fedorenko CLA 2011-11-19 21:54:07 EST
Created attachment 207273 [details]
proposed fix

attached patch adds JavaSE-1.7 execution environment profile
Comment 2 Igor Fedorenko CLA 2011-12-02 16:05:57 EST
Created attachment 207868 [details]
original patch in diff format

Set "Ignore leading path name segments" to 1 (one) to apply this diff using
Eclipse UI.
Comment 3 Jan Sievers CLA 2011-12-08 03:35:22 EST
patch seems trivial to me

@Tobias can you have a look?
Comment 4 DJ Houghton CLA 2011-12-08 09:09:15 EST
Sorry I've been out of the office for a couple of days. We're past the time to release to M4 so I'll look at this next week and get it in for M5.
Comment 5 DJ Houghton CLA 2011-12-08 15:53:00 EST
Fixed in commit dd61465eaa0d5f56fa01cacd1621c6daa830dd29.