This is the mail archive of the java@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: gjavah and volatility


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> This in Java:
Andrew>   static volatile SecurityManager current;
Andrew> generates this in CNI:
Andrew>   static volatile ::java::lang::SecurityManager * current;
Andrew> but of course the object isn't volatile, the field is.  It should be
Andrew>   static ::java::lang::SecurityManager * volatile current;
Andrew> shouldn't it?

Yeah, oops.  But do we even want to translate java volatile into c++
volatile?

Tom


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