----- 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
|