I don't think Sun should have protected the code for Java. But I think it should be possible to protect it. Most people here may hate the Jaa language but it took a ton of work and expertise to invent it. And it took something to make the ecosystem as large as it is today. This seems to contain as much intellectual property as something like a book. And when it come down to it, the intellectual property is in the method signatures anyway. There is no big trick to the code inside them. An intern could write that.
As the lesser of two evils, I prefer Google to Oracle. And I hate patent trolls, especially this instance of it. But at the same time I don't want to reduce the legal value of software. If java is not protectable, is a program like Micrsoft Word or Autocad?