igalshilman commented on issue #10944: [FLINK-15739] Fix 
TypeSerializerUpgradeTestBase on Java 12
URL: https://github.com/apache/flink/pull/10944#issuecomment-579164401
 
 
   @zentol The main problem that this approach solves is: we need two different 
definitions of the same class (same fully qualified class name, but different 
fields) to be present at runtime. Having the classes in different modules, 
means that these modules can not be in the class path simultaneously. (how 
would the pom.xml would look like with these constrains?)
   So the relocating approach allows these two classes co-existing with 
different compile time names, but they are loaded into separate classloaders 
with the same (fully qualified name).
   
     
     

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to