[vwnc] [7.6][BUG] IconViewer>>updateContents breaks when viewing inherited methods

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

[vwnc] [7.6][BUG] IconViewer>>updateContents breaks when viewing inherited methods

Boris Popov, DeepCove Labs (SNN)
If you subclass ToolbarIconLibrary with MyToolbarIconLibrary and try to
look at inherited icons from MyToolbarIconLibrary by tuning visibility
in the browser, you'll get an attached exception in
IconViewer>>updateContents, because it will try to get a compiled method
for inherited selector from the selected class, not the class where the
method is actually defined. Test and fix are attached.

-Boris

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

stack.txt (78K) Download Attachment
IconViewerTestAndFix.st (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] [7.6][BUG] IconViewer>>updateContents breaks when viewing inherited methods

Sherry Michael
Thank you.  AR 54237 has been created for this.

- Sherry

Boris Popov wrote:

> From: "Boris Popov" <[hidden email]>
> Date: April 20, 2008 2:41:30 PM PDT
> To: <[hidden email]>
> Subject: [vwnc] [7.6][BUG] IconViewer>>updateContents breaks when
> viewing inherited methods
>
> If you subclass ToolbarIconLibrary with MyToolbarIconLibrary and try to
> look at inherited icons from MyToolbarIconLibrary by tuning visibility
> in the browser, you'll get an attached exception in
> IconViewer>>updateContents, because it will try to get a compiled method
> for inherited selector from the selected class, not the class where the
> method is actually defined. Test and fix are attached.
>
> -Boris
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc