This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gjavah and volatility
- From: Andrew Haley <aph at redhat dot com>
- To: tromey at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Fri, 26 Jan 2007 16:07:13 +0000
- Subject: 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.