[PATCH] Fix err10.java test case failure on 64-bit hosts

Ulrich Weigand Ulrich.Weigand@de.ibm.com
Tue Oct 8 10:02:00 GMT 2002

Tom Tromey wrote:

>Where is UINT32 defined?

Well, the immediately following insn_lushr case uses UINT64, so I had
assumed those types were available ...

Looking closer, it would appear that both UINT64 and UINT32 are
actually defined not in libjava, but in the ffi.h header which
is included via java-interp.h.

>Will `unsigned jint' work?  We know jint is 32 bits, and this lets us
>avoid portability problems with UINT32.

That should work as well, I guess.  What about the UINT64, then?

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

More information about the Java-patches mailing list