yes, but those are forks of the OpenSolaris that was under CDDL by Sun. Oracle can't "close" that, but they didn't choose to continue contributing the Solaris 11 code into the project. So Oracle Solaris is closed today, but there are other Solaris based OS out there branched off the previous Open sourced Solaris version.
What Oracle does with Linux is completely legit under the licenses it is covered by. Even the CDDL was never as "open" as Linux/GPL, but there were many legal reasons for that because Sun had tons of code in Solaris that they could not unilaterally open source because it was proprietary and licensed to them by other companies, in some case by entities that no longer existed and there were plenty of murky areas where they didn't feel safe in indemnifying those pieces.
So, yes, It's certainly an apples/oranges comparison...