Menu

#28 Classloader and static initializer in midlet

open
None
5
2008-03-25
2006-11-13
No

My usage pattern is starting Application from Eclipse
when all classes in calsspath of emulator

When static initializer is used in midlet and
different device is select this initializer is not
called.

I suggest to use http://classworlds.codehaus.org/
framework to avoid loading classes from root
classloader in Midlet. This way you can reload
(reinitialise) them every time you change device.

Discussion

  • Vlad Skarzhevskyy

    • milestone: --> 684985
    • assigned_to: nobody --> vlads
     
  • Bartek Teodorczyk

    • milestone: 684985 --> 717032
     
  • Bartek Teodorczyk

    • milestone: 717032 -->
     

Log in to post a comment.