Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 36122 invoked from network); 16 Sep 2004 16:57:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Sep 2004 16:57:28 -0000 Received: (qmail 85446 invoked by uid 500); 16 Sep 2004 16:57:19 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 85287 invoked by uid 500); 16 Sep 2004 16:57:17 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 85250 invoked by uid 99); 16 Sep 2004 16:57:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [156.153.255.205] (HELO atlrel6.hp.com) (156.153.255.205) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Sep 2004 09:57:16 -0700 Received: from timmay.hpl.hp.com (timmay.hpl.hp.com [15.144.30.251]) by atlrel6.hp.com (Postfix) with ESMTP id D8E9F293 for ; Thu, 16 Sep 2004 12:57:08 -0400 (EDT) Received: from [15.204.20.82] (branaid82.uksr.hp.com [15.204.20.82]) by timmay.hpl.hp.com (8.11.1 (Revision 1.6) /8.9.3 SMKit7.1.0) with SMTP id i8GGv1K10567 for ; Thu, 16 Sep 2004 17:57:01 +0100 (BST) Message-ID: <4149C5DF.1080603@apache.org> Date: Thu, 16 Sep 2004 17:57:03 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: AXIS with JDK 1.5 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ias wrote: > Hi, > > >>Hi, >>We are using AXIS 1.1 and recently moved onto using JDK 1.5 (build >>1.5.0-beta2-b51) >>When I compile my WSDL2Java generated code there are warnings >>about 'enum'. Axis has package org.apache.axis.enum which >>conflicts with 'enum' keyword. With strict checking this >>would not compile. > > > The current Axis 1.2 stream is not compilable with J2SE 5 due to some > conflicts like what you pointed out. I personally made "Axis for Tiger", > which is able to be built on Tiger, but it will go to Axis 2. Apart from the > enum trouble, SAAJ part is also problematic because Tiger's DOM level is 3 > while that of SAAJ 1.2 is 2. Now Sun, who is responsible for maintaining > SAAJ spec, is considering how to solve the problem. For the present, it's > hard to predict which kind of form, for example, SAAJ 1.3 maintenance spec > or SAAJ NG spec is selected for the solution. > > However, it is interesting that actually you can make a SAAJ 1.2 > implementation support DOM level 3 with spec update, i.e., no SAAJ 1.2 API > changes. In this case, the problem is that Axis SAAJ implementation will > have some extra methods that are unnecessary and hence probably unused. > > Axis developers, what do you think of this issue? Making Axis 1.2 compilable > by Tiger or put off the job to Axis 2 or any approach else? we will need to make axis1.x java.5 compatible. I'd assumed it was going to be a post1.2 event, but as it looks like Axis1.2 and Java1.5 are going to ship simultaneously, we should get it over with now. The sole use of enum is in the packaging, but that affects every bit of code that Axis creates that uses enums. This will force work on all our users, but they/we will need to do it at some point if they remain with the 1.2 codebase. So it irritates me, but it is out of our hands. Now, if only the java language designers had been smart enough to make all C++ reserved worlds reserved for future use in Java, life would have been less painful, and we wont have the same problem if/when the language adds "unsigned" or "struct", as it will inevitably do..