summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 22:42:01 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-09 22:42:01 +0000
commite0dc6b4133590d49430ee58a85f6d0329f37acbc (patch)
tree9bf15e3ba70bbfa0969c9b3b315817bddb70ef2c
parent9e43288180073361891ec360a1cf1b2bc5f3ed4b (diff)
downloadgcc-e0dc6b4133590d49430ee58a85f6d0329f37acbc.tar.gz
* include/jni.h: Added FIXME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90370 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/include/jni.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 750f1905a04..de913961139 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-09 Tom Tromey <tromey@redhat.com>
+
+ * include/jni.h: Added FIXME.
+
2004-11-08 Tom Tromey <tromey@redhat.com>
* java/util/GregorianCalendar.java: Removed unused imports.
diff --git a/libjava/include/jni.h b/libjava/include/jni.h
index 7765d3d66de..acffa97fd98 100644
--- a/libjava/include/jni.h
+++ b/libjava/include/jni.h
@@ -44,7 +44,9 @@ typedef struct _Jv_JavaVM JavaVM;
# ifdef __GNUC__
/* If we're using gcc, we can use a platform-independent scheme to get
- the right integer types. */
+ the right integer types. FIXME: this is not always correct, for
+ instance on the c4x it will be wrong -- it depends on whether
+ QImode is 8 bits. */
typedef int jbyte __attribute__((__mode__(__QI__)));
typedef int jshort __attribute__((__mode__(__HI__)));
typedef int jint __attribute__((__mode__(__SI__)));