Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361555 - Support setting the Java 7 facet when importing a JavaEE archive targeted to a runtime that supports Java 7
Summary: Support setting the Java 7 facet when importing a JavaEE archive targeted to ...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.2.5 P   Edit
Assignee: Kim Tsao CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 366986
  Show dependency tree
 
Reported: 2011-10-20 10:59 EDT by Kim Tsao CLA
Modified: 2011-12-16 16:23 EST (History)
2 users (show)

See Also:
ccc: review+


Attachments
proposed change for J2EEComponentImportDataModelProvider (1.30 KB, patch)
2011-10-20 11:00 EDT, Kim Tsao CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Tsao CLA 2011-10-20 10:59:51 EDT
Build Identifier: M20110210-1200

In our adopter product, users will be able to import JavaEE archives targeting runtimes that support Java 7.  Currently, the Java facet is set to 1.6 when importing.  It looks like the J2EEComponentImportDataModelProvider class does not check for 1.7 compatibility.    

Reproducible: Always

Steps to Reproduce:
1.  Import an EAR or War file
2.  Set the target runtime to something that supports Java 7
3.  After import, the Java Facet is set to 1.6
Comment 1 Kim Tsao CLA 2011-10-20 11:00:42 EDT
Created attachment 205640 [details]
proposed change for J2EEComponentImportDataModelProvider
Comment 2 Carl Anderson CLA 2011-11-28 12:31:34 EST
Committed to R3_2_5_patches