xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wilson" <...@wilson.co.uk>
Subject Re: Invalid static member of inner class
Date Fri, 22 Feb 2002 21:46:03 GMT

----- Original Message -----
From: "Daniel Rall" <dlr@finemaltcoding.com>
To: <rpc-dev@xml.apache.org>
Sent: Friday, February 22, 2002 8:48 PM
Subject: Re: Invalid static member of inner class


> I'm fairly certain that jikes just turns that into a constant.  It's
> odd that javac does not -- I wonder if there is a way to convince it
> that it should be constant?

I think Jikes is wrong here (which is very unusual!).

The JLS defines a compile-time constant in section 15.28. A compile time
constant can be the value of a primitive type or a String.

John Wilson
The Wilson Partnership
http://www.wilson.co.uk


Mime
View raw message