Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364222 - JREAction generates wrong IU for JavaSE-1.7 profile
Summary: JREAction generates wrong IU for JavaSE-1.7 profile
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: Juno M5   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 364095
  Show dependency tree
 
Reported: 2011-11-19 11:00 EST by Igor Fedorenko CLA
Modified: 2011-12-08 15:55 EST (History)
2 users (show)

See Also:


Attachments
proposed fix (6.30 KB, patch)
2011-11-19 21:54 EST, Igor Fedorenko CLA
no flags Details | Diff
original patch in diff format (5.82 KB, patch)
2011-12-02 16:05 EST, Igor Fedorenko CLA
dj.houghton: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.