Re: [abc] the ConstantValue attribute

From: Ganesh Sittampalam <Ganesh.Sittampalam@comlab.ox.ac.uk>
Date: Tue Sep 14 2004 - 14:06:50 BST

On Tue, 14 Sep 2004, Ondrej Lhotak wrote:

> > So it seems to me as if J2J will need to be changed to support this :-/
>
> What about this does J2J not support currently?

If you write:

public static final int x = <a compile time constant>;

Then it doesn't the ConstantValue attribute doesn't appear in the
bytecode. I think the example in my second email is evidence that it has
to.

Ganesh
Received on Tue Sep 14 14:06:53 2004

This archive was generated by hypermail 2.1.8 : Tue Sep 14 2004 - 15:40:02 BST