dcsimg
transient arrays and the simulator cref
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ingo_Henkel
Posted On:   Thursday, May 23, 2002 01:45 PM

Hello all,

i tried to use the function makeTransientObjectArray in the constructor. i got an error when i created an instance (SW1=0x64, SW2=0x44). Then i tried to use the function in the process method, but i got another error (SW1=0x64, SW2=0x21). When i used a normal new statement for creating the array (not transient), everything was ok. Because i need a reference for traversing a concatenated list, using EEPROM would be very bad. Does anybody know about a problem with cref?

Best regards
Ingo Henkel

Re: transient arrays and the simulator cref

Posted By:   Joseph_Smith  
Posted On:   Wednesday, May 29, 2002 09:28 AM

Ingo,
The issue is when utilizing the makeTransientObjectArray, it appears the JCRE doesn't like the cast to anything other than Object[]. The compiler doesn't care, but the JCRE does.
About | Sitemap | Contact