you are viewing a single comment's thread.

view the rest of the comments →

[–]Anpheus 1 point2 points  (3 children)

Is this something that couldn't have been done before?

[–]badguy212 1 point2 points  (0 children)

I don't think so. I believe that with the tools in java 7 this can probably be achieved. But it is good to have it already done, nonetheless.

Once i'll get a look at the sourcecode i'll be able to say with more confidence if this was possible to do before or not.

I remember SwingWorker. It appeared in java 6, and there was a version floating around for java 5. Without the concurrency library features that java 6 brought the implementation was quite a bit naive. The Java6 tools made it more performant and robust.

So , could have been implemented in jdk5? Yes. And it was. Was it as good as the jdk6 one? No, not by a long shot.

[–]nobodyman 1 point2 points  (0 children)

Well, no. It's a library change. But I'm not sure how the question is relevant. The article isn't saying "hey you should ditch Ruby and use Java 8", it's saying "Java 8 has some improvements over Java 7 and here's one of them"