aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2004-11-09 22:42:01 +0000
committerTom Tromey <tromey@gcc.gnu.org>2004-11-09 22:42:01 +0000
commitcdf87ecb60ea10a9ad40d41477849ab385d075d5 (patch)
tree9bf15e3ba70bbfa0969c9b3b315817bddb70ef2c /libjava
parentd34aacdfff52080f0909a02e02e8f2c99646a062 (diff)
downloadgcc-cdf87ecb60ea10a9ad40d41477849ab385d075d5.zip
gcc-cdf87ecb60ea10a9ad40d41477849ab385d075d5.tar.gz
gcc-cdf87ecb60ea10a9ad40d41477849ab385d075d5.tar.bz2
* include/jni.h: Added FIXME.
From-SVN: r90370
Diffstat (limited to 'libjava')
-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 750f190..de913961 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 7765d3d..acffa97 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__)));