This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Eww: Modifier.INTERPRETED overload


David Daney writes:
 > Tom Tromey wrote:
 > >>>>>> "Andrew" == Andrew Haley <aph-gcc@littlepinkcloud.COM> writes:
 > > 
 > > Andrew> This should, perhaps, ring an alarm bell.  Way back when this code was
 > > Andrew> written, classes weren't marked synthetic, but they are now!
 > > Andrew> So, any compiled class that is marked as SYNTHETIC is treated as
 > > Andrew> INTERPRETED by libgcj.  Bad Things Happen.
 > > 
 > > I'm sure this is my fault but I don't remember what I was thinking.
 > > 
 > > Andrew> We really need to find another way of marking classes as interpreted,
 > > 
 > > Yeah.
 > 
 > It's probably obvious, but why can't the value of the constant be changed?

Maybe, but access_flags is a u2, and there aren't many bits left.
0x80, perhaps?  It's used for VARARGS at the moment.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]