package using pool dictinary compilation failures

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

package using pool dictinary compilation failures

Davorin Rusevljan-2
Hi,

situation is as follows:

- Dolphin smalltalk 4.01 pl2
- there is pool dictionary SwimPool containing association JoeDoe -> 7
- there is a class A which uses SwimPool as pool dictionary, and has an
method
     A>>joesMark
               ^JoeDoe

- package Pack, that contains both SwimPool and class A.

When reading in package Pack method joesMark fails to compile (never heard
of JoeDoe). Once the package is loaded, reaccepting method joesMark works
ok. It seems taht SwimPool is loaded to late. If needed I can provide
example package.

Btw, I see that you are now assigning defects numbers. I guess it got lost
in traffic of this group, but there is also one problem with install msi
database and msm merge module, whichh is bound to cause some grief sooner or
later if it is not fixed. Virtual machine dll's shoud be marked as shared
dll, so that they do not get burned by non-msi uninstallers.

Davorin Rusevljan


Reply | Threaded
Open this post in threaded view
|

Re: package using pool dictinary compilation failures

Blair McGlashan
Davorin

Thanks for the bug reports.

You wrote in message news:9dj7tj$t0k$[hidden email]...

>
> situation is as follows:
>
> - Dolphin smalltalk 4.01 pl2
> - there is pool dictionary SwimPool containing association JoeDoe -> 7
> - there is a class A which uses SwimPool as pool dictionary, and has an
> method
>      A>>joesMark
>                ^JoeDoe
>
> - package Pack, that contains both SwimPool and class A.
>
> When reading in package Pack method joesMark fails to compile (never heard
> of JoeDoe). Once the package is loaded, reaccepting method joesMark works
> ok. It seems taht SwimPool is loaded to late. If needed I can provide
> example package.

Defect no. 225. I've attached a hotfix patch that will be part of PL3 or the
next minor release.

> Btw, I see that you are now assigning defects numbers. I guess it got lost
> in traffic of this group, but there is also one problem with install msi
> database and msm merge module, whichh is bound to cause some grief sooner
or
> later if it is not fixed. Virtual machine dll's shoud be marked as shared
> dll, so that they do not get burned by non-msi uninstallers.

Defect no. 224.

Regards

Blair
























begin 666 PoolDictionary package load order bug (225).st
M(5!O;VQ$:6-T:6]N87)Y(&UE=&AO9'-&;W(A#0H-"F9I;&5/=71.86UE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;&EC(7-O
M=7)C92!F:6QI;F<A("$-"@T*(5!O;VQ$:6-T:6]N87)Y(&UE=&AO9'-&;W(A
M#0H-"F9I;&5/=70-"@DB1FEL92!O=70@=&AE(')E8V5I=F5R('1O(#QN86UE
M/BYS="(-"@T*"7-E;&8@8VQA<W,@<V]U<F-E36%N86=E<B!F:6QE3W5T.B!S
M96QF+@T*"7-E;&8@:7-#:&%N9V5D.B!F86QS92$@(0T*(5!O;VQ$:6-T:6]N
M87)Y(&-A=&5G;W)I97-&;W(Z("-F:6QE3W5T(61E=F5L;W!M96YT(7!U8FQI
M8R%S;W5R8V4@9FEL:6YG(2 A#0H-"BA-971H;V10<F]T;V-O;"!N86UE.B C
G<V]U<F-E3V)J96-T*2!A9&1#;&%S<SH@4&]O;$1I8W1I;VYA<GDA
`
end


Reply | Threaded
Open this post in threaded view
|

Re: package using pool dictinary compilation failures

Andy Bower
In reply to this post by Davorin Rusevljan-2
Davorin,

> situation is as follows:
>
> - Dolphin smalltalk 4.01 pl2
> - there is pool dictionary SwimPool containing association JoeDoe -> 7
> - there is a class A which uses SwimPool as pool dictionary, and has an
> method
>      A>>joesMark
>                ^JoeDoe
>
> - package Pack, that contains both SwimPool and class A.
>
> When reading in package Pack method joesMark fails to compile (never heard
> of JoeDoe). Once the package is loaded, reaccepting method joesMark works
> ok. It seems taht SwimPool is loaded to late. If needed I can provide
> example package.

Recorded as defect #225 and should be fixed in the next patch level.

> Btw, I see that you are now assigning defects numbers. I guess it got lost
> in traffic of this group, but there is also one problem with install msi
> database and msm merge module, whichh is bound to cause some grief sooner
or
> later if it is not fixed. Virtual machine dll's shoud be marked as shared
> dll, so that they do not get burned by non-msi uninstallers.

Recorded as defect #224. Thanks for the reports.

Best Regards,

Andy Bower
Dolphin Support
http://www.object-arts.com

---
Visit the Dolphin Smalltalk WikiWeb
http://www.object-arts.com/wiki/html/Dolphin/FrontPage.htm
---