Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 52122 invoked from network); 4 Feb 2005 20:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Feb 2005 20:32:20 -0000 Received: (qmail 72551 invoked by uid 500); 4 Feb 2005 20:32:06 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 72528 invoked by uid 500); 4 Feb 2005 20:32:06 -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 72510 invoked by uid 99); 4 Feb 2005 20:32:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of davanum@gmail.com designates 64.233.170.203 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.203) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Feb 2005 12:32:04 -0800 Received: by rproxy.gmail.com with SMTP id 40so329904rnz for ; Fri, 04 Feb 2005 12:32:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=TL9UA2BPitxlgIZFEYzxhiCKsNQqTfb1sPFER8OFhkRsZDNZebe87wSl06cprfRA/N+2/K2G8ZzWb8iaM5VFxjKfFdHA4hBGtiOmD/6TKNXvFDm9iCHeDP+RvocWTgLW/Hsr39U4jctPATIqQBb/0oq/osuR5QpEnVeAm2dz3L0= Received: by 10.38.8.57 with SMTP id 57mr157888rnh; Fri, 04 Feb 2005 12:32:01 -0800 (PST) Received: by 10.38.8.79 with HTTP; Fri, 4 Feb 2005 12:32:01 -0800 (PST) Message-ID: <19e0530f050204123248c03718@mail.gmail.com> Date: Fri, 4 Feb 2005 15:32:01 -0500 From: Davanum Srinivas Reply-To: dims@apache.org To: "Tardif, Sebastien" Subject: Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply withthis rule? Cc: axis-dev@ws.apache.org In-Reply-To: <66911C8E1F2DA24EB29DE289297A135E7AA1A3@usrd104> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <66911C8E1F2DA24EB29DE289297A135E7AA1A3@usrd104> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At this point TCK is the easy part :) -- dims On Fri, 4 Feb 2005 14:55:59 -0500, Tardif, Sebastien wrote: > I think so. > > JRE 1.5 brings performance improvement which by himself is significant. Without JRE 1.5 support that mean the "business codes" will need to exclude all the new language feature of 1.5. > > What is the status of the work done on TCK? > > -----Original Message----- > From: Davanum Srinivas [mailto:davanum@gmail.com] > Sent: Friday, February 04, 2005 1:19 PM > To: axis-dev@ws.apache.org > Subject: Fwd: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply withthis rule? > > Glen, Tom, > > Should we take care of this before we cut an RC? > > -- dims > > ---------- Forwarded message ---------- > From: Michael Schuerig > Date: Fri, 4 Feb 2005 17:28:45 +0100 > Subject: Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply withthis rule? > To: axis-user@ws.apache.org > > On Friday 04 February 2005 12:52, Davanum Srinivas wrote: > > > On Fri, 4 Feb 2005 10:06:11 +0100, Michael Schuerig > wrote: > > > On Thursday 03 February 2005 04:27, Davanum Srinivas wrote: > > > > you can replace xxx.enum.yyy with xxx.constants.yyy > > > > > > This only works in cases where one simply uses the constants. It > > > does not work for variable, field, and parameter types. > > > can u give me an example? > > Try to compile this: > > package test; > > import org.apache.axis.constants.Style; > > public class ConstantsVsEnum { > public static final Style myStyle = Style.DOCUMENT; > > private static void styleTaker(Style style) { > } > > public static void main( String[] args ) { > styleTaker(myStyle); > styleTake(Style.DOCUMENT); > } > } > > These are the errors you'll probably get: > > test/ConstantsVsEnum.java:7: incompatible types > found : org.apache.axis.enum.Style > required: org.apache.axis.constants.Style > public static final Style myStyle = Style.DOCUMENT; > ^ > test/ConstantsVsEnum.java:14: cannot find symbol > symbol : method styleTake(org.apache.axis.enum.Style) > location: class test.ConstantsVsEnum > styleTake(Style.DOCUMENT); > ^ > 2 errors > > Michael > > -- > Michael Schuerig You can twist perceptions > mailto:michael@schuerig.de Reality won't budge > http://www.schuerig.de/michael/ --Rush, Show Don't Tell > > -- > Davanum Srinivas - http://webservices.apache.org/~dims/ > -- Davanum Srinivas - http://webservices.apache.org/~dims/