[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-dev
Subject: Re: Invalid static member of inner class
From: "John Wilson" <tug () wilson ! co ! uk>
Date: 2002-02-22 21:46:03
[Download RAW message or body]
----- 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic