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

Bug 364499

Summary: EJB Client project operation doesn't check supported java version when runtime set
Product: [WebTools] WTP EJB Tools Reporter: Roberto Sanchez Herrera <shr31223>
Component: jst.ejbAssignee: Roberto Sanchez Herrera <shr31223>
Status: RESOLVED FIXED QA Contact: Kaloyan Raev <kaloyan>
Severity: normal    
Priority: P3 CC: cbridgha, ccc
Version: 3.3.1Flags: cbridgha: review+
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 363973    
Bug Blocks: 364993    
Attachments:
Description Flags
Proposed patch (for R3_3_maintenance and HEAD) none

Description Roberto Sanchez Herrera CLA 2011-11-22 12:45:02 EST
+++ This bug was initially created as a clone of Bug #363973 +++

Unlike most Faceted project creation operations.  The EJB Client op does not inherit the behavior of synching or reacting to a new runtime set, and checking for the latest java version supported.  This is because it inherits the "default" java version based on the initial fixed facet template.

For instance, if the EJB project version is 3.1, then it defaults to java 6.
Comment 1 Roberto Sanchez Herrera CLA 2011-11-28 13:11:26 EST
Created attachment 207616 [details]
Proposed patch (for R3_3_maintenance and HEAD)

This patch can be applied in both R3_3_maintenance (for 3.3.2) and HEAD (for 3.4)
Comment 2 Chuck Bridgham CLA 2011-11-28 13:58:29 EST
looks good
Comment 3 Chuck Bridgham CLA 2011-11-28 20:25:43 EST
Correction - this was an EJB problem.. properly categorizing
Comment 4 Chuck Bridgham CLA 2011-11-28 20:43:36 EST
committed to 3.3.2 stream
Comment 5 Chuck Bridgham CLA 2011-11-28 20:46:39 EST
and Head...