Class names is for JAXRPC11 compliance...If you have specific problems with "some types", please log a bug report.
-- dims On Mon, 7 Feb 2005 11:25:53 -0800, Simon Fell <[EMAIL PROTECTED]> wrote: > Backward compat is already busted. WSDL2Java generates different class > names, no longer generates new classes for some types. > > > -----Original Message----- > > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > > Sent: Saturday, February 05, 2005 5:51 AM > > To: [EMAIL PROTECTED] > > Subject: Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis > > Comply withthis rule? > > > > John, > > > > Yes, it's possible to do it wholesale (done it twice locally :). > > Everyone was/is worried about backwards compat stuff. but i > > have a feeling we should bite the bullet. i have forwarded > > the email to axis-dev > > > > -- dims > > > > > > On Sat, 05 Feb 2005 19:54:11 +1100, John Delaney > > <[EMAIL PROTECTED]> wrote: > > > Gentlepeople, > > > > > > I have a version of Axis compiled with enum replaced by > > enums, using > > > constants would have been better. > > > > > > I just copied the whole thing, tools and all, into a decent IDE and > > > did a global replace of org.apache.axis.enum with > > > org.apache.axis.enums, I then used ant to compile axis. > > > > > > BTW I cannot see why the good folk at java decided to pinch > > enum from > > > us. It is what I have called just about every Enumeration I > > have used, > > > it is not a complete word, etc. I wouldn't put it passed > > them to have > > > done it just to annoy us. > > > > > > JWD > > > > > > >>> [EMAIL PROTECTED] 02/05/05 03:29 AM >>> > > > On Friday 04 February 2005 12:52, Davanum Srinivas wrote: > > > > > > > On Fri, 4 Feb 2005 10:06:11 +0100, Michael Schuerig > > > <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] 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/