Bug 199822 - support jdk6.0
Summary: support jdk6.0
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: STP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Adrian Skehill CLA
QA Contact: Oisin Hurley CLA
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2007-08-13 23:29 EDT by Johnson Ma CLA
Modified: 2012-09-21 14:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johnson Ma CLA 2007-08-13 23:29:12 EDT
The default compiler for eclipse 3.3 is java6.
However, the cxf runtime we are using for jaxws doesn't support jdk6 yet. and from their mailing list, they are working on jaxb2.1 support, which won't available for jdk6.

One solution in STP is to support jdk6.0 built-in jaxws runtime.
Comment 1 Oisin Hurley CLA 2007-08-15 17:16:36 EDT
I didn't realize that the compiler defaulted to Java 6  -- does it do this when you have Java 6 installed only? I think a release note is in order.
Comment 2 Johnson Ma CLA 2007-12-16 12:24:23 EST
we use the faced from wtp to fix the problem as below:
1. added java5.0 facet to cxf runtime, in addition to jaxws 2.0 facet.
2. added [java5 (which means >= java5.0) facet to jaxws ri runtime, in addtion to jaxws 2.0, 2.1 jacets.

3. in the runtime selection page, we will calaulate the current java fecet from default jre. then use function from wtp.facet.core.RuntimeManager to check if the selected runtime supports that java facet or not.

Notice here. found a bug in wtp in wtp.facet.core.runtime.internal.RuntimeManagerImpl, line 291.
Since the RuntimeManagerImpl is defined a final class. Hard to add work around in stp. So i will fill a bug to wtp asap.