We just realized that we can overcome the problem bu using the XSTRAEM2 
similar as when we replace a class for backwards compatibility. We did see 
problems with the classloader both in job configuration (config.xml) and 
during job builds. Just by using the addCompatibilityAlias to the original 
class it seems that we get the correct classloader. 

 Items.XSTREAM2.addCompatibilityAlias("com.xxx.yyy.ResultCode", 
ResultCode.class);      
 Run.XSTREAM2.addCompatibilityAlias("com.xxx.yyy.EventId", EventId.class);

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/b54683f7-6d54-4450-b1ce-a4adf97f00da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to