gjavah and volatility

Tom Tromey tromey@redhat.com
Fri Jan 26 19:49:00 GMT 2007


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /