[fpc-devel] Re: JVM: class of XYZ => java.lang.Class

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Dec 25 22:11:52 CET 2011


On 25 Dec 2011, at 22:06, Sven Barth wrote:

> On 25.12.2011 20:53, Jonas Maebe wrote:
>> 
>> On 25 Dec 2011, at 18:23, Sven Barth wrote:
>> 
>>> Ok, I could simply solve this by doing a typecast "JLClass(TTrainTypeActivity)",
>> 
>> That's indeed the proper way.
> 
> Ok, if you say so. Thanks.

The main problem is that the more magic conversions are added to the compiler, the harder things become to maintain (both for the JVM target and for other targets).


Jonas


More information about the fpc-devel mailing list