On 24 August 2012 15:55, Jan van de Sandt <[email protected]> wrote: > Hello Igor, > > Thanks for the explanation. Closing via the class method now works fine! > > But I still notice that the #finalizeResourceData doesn't get called. The > instance is already gone because the #allInstances method returns an empty > collection. Strange .... > i will write a test for finalization registry to see if it works.. should be working, but who knows :)
> Jan. > > PS: I installed NB in a new 1.4 image this afternoon. Some tests failed > because the Integer>>#& method was missing. Probably is should be part of > the AsmJit-Extension package. After I added this method the tests worked > again. > rrrrrr.... this is because some very nice guy put those methods into Pharo 2.0 kernel. now things are messy, since in 1.4 you still need those methods as extension, but in 2.0 you don't need them, because if they present, loading NB will mark kernel package dirty :( this can be solved by adding an extra pharo-14-compat package and writing a configuration in a way that it will load that package in 1.4 but not in 2.0.. but this is tedious, and frankly i didn't learned well, how to do that trick with metacello. -- Best regards, Igor Stasenko.
