[fpc-devel] FPC-JVM: Status report on Android

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Aug 31 01:14:27 CEST 2011


On 30 Aug 2011, at 10:34, Jonas Maebe wrote:

> Also, at http://www.netmite.com/android/mydroid/dalvik/docs/verifier.html I noticed one forbidden thing that FPC currently does: "The Dalvik verifier is more restrictive than other VMs in one area: type safety on sub-32-bit integer widths. These additional restrictions should make it impossible to, say, pass a value outside the range [-128, 127] to a function that takes a byte as an argument."
> 
> FPC won't sign extend byte values when passing them to functions (the JVM itself only supports signed types). I'll fix that.

Fixed.


Jonas


More information about the fpc-devel mailing list