Affichage des articles dont le libellé est How does the microloader handle loading files with duplicate classes?. Afficher tous les articles
Affichage des articles dont le libellé est How does the microloader handle loading files with duplicate classes?. Afficher tous les articles

mercredi 15 avril 2015

How does the microloader handle loading files with duplicate classes?

Ok, please bear with me on this one...



We have 2 applications. These two apps are built using CMD and only contain the files they need. Each application contains a shared "global" class. Application 1 is updated and the global class has a "version 2" method added. Application 2 is left unchanged.



What will happen when Application 2 is loaded first and then Application 1 is loaded? Will the microloader overwrite the global class with what is coming in with Application 1 or will it leave it unchanged? Likewise, if Application 1 is loaded first and then application 2 is loaded, will the global class be degraded by Application 2 or will it see the version info and retain it?



I hope this is clear enough. Does anyone know how it will work?





How does the microloader handle loading files with duplicate classes?