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]

gjavah and volatility


This in Java:

  static volatile SecurityManager current;

generates this in CNI:

  static volatile ::java::lang::SecurityManager * current;

but of course the object isn't volatile, the field is.  It should be

  static ::java::lang::SecurityManager * volatile current;

shouldn't it?

Andrew.


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