This is the mail archive of the java-patches@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]

Re: Patch: FYI: jni.cc fixes


Tom Tromey wrote:

>        (array_from_valist): Correctly handle promotion for jint, jlong,
>        jfloat, and jdouble.

This causes a test case failure on s390-ibm-linux, because the assumption

>+      // Here we assume that sizeof(int) >= sizeof(jint), because we
>+      // use `int' when decoding the varargs.  Likewise for
>+      // long/jlong, float, and double.

is violated: jlong is a 64-bit type, while long is 32-bit ...


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com


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