[fpc-devel] Updated FPC JVM snapshot

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Nov 7 12:21:41 CET 2011



On Mon, 7 Nov 2011, Jonas Maebe wrote:

>
> On 07 Nov 2011, at 09:21, Michael.VanCanneyt at Wisa.be wrote:
>
>> I have been looking at the JVM backend, and noticed that file I/O is not
>> working. I'm asking what is needed to get write(ln) or read(ln) working.
>
> Mainly adapting rtl/inc/text.inc and rtl/inc/textrec.inc. I haven't looked 
> yet in detail at whether the original code can be easily/cleanly made 
> compatible with the JVM backend or whether a separate implementation would be 
> better.

TextRec uses THandle for everything, I assume it can be used to store a pointer 
to an object (or whatever Java uses for files), since in Java everything is
an object anyway ?

Michae.



More information about the fpc-devel mailing list