Menu

#129 Importing Classes with Intialized Class Variables.

v4.1.1
open
Core Model (79)
7
2012-09-19
2004-05-10
No

When a library is imported, often the class that is being
imported has class variables defined that are Initialized
and bound to a class that has not been imported yet.
This causes import errors due to the fact that once the
InitClassVars method is created and compiled, it must be
executed so that the class variables are set up. The
InitClassVars method attempts to create an instance of
the missing class and consequently generates an error.

Discussion

  • Terry L. Wiechmann

    Logged In: YES
    user_id=84471

    The attached .zip file contains the fix to this problem. Make
    sure you read and carefully follow the installation and testing
    instructions outlined in Install.txt. This patch is a little more
    elaborate than normal since you will be importing methods
    that are used to import the patch.

     
  • Terry L. Wiechmann

    Patch to Bug 951469.

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.