This is the mail archive of the mauve-discuss@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

runFinalization in Classloader.initialize doesn't run on cacao


Hi,
  while wandering around with Classloaders, I found that the teslet
gnu.testlet.java.lang.Classloader.initialize wasn't running with Cacao.
It seems that in the beginning of the test method, it creates an
anonymous Classloader and then call System.gc() and
System.runFinalization() and expects the finalizer to be ran to set a
singleton like variable holder.
  While this is ok in jamvm and sun jre 1.5.0, cacao doesn't run the
finalizer since runFinalization only gives a hint and not a mandatory
order, so it is compliant.
  My question is whether I'm missing something and this way of doing
brings something in this test or it could be rewritten in a simpler way,
more compliant with the various jvm.
  Thanks in advance
Cheers

+Olivier


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]