Two questions really, I'm fairly confident about the first but not sure on the second.
Firstly: If I write a subclass of a class from a library released under the CPL, do I also need to release this subclass under the CPL?
Secondly: If I copypaste some code from a CPL library, then make reasonably substantial modifications to the code, and then include this code in a commercial project, does the modified code need to be released under the CPL?