Slashdot Mirror


IcedTea's OpenJDK Passes Java Test Compatibility Kit

emyar writes "At JavaOne in May, 2006, Sun Microsystems announced they were going to release Java as free software under the terms of the GPL. The size of the task (6.5 million lines of code) was only eclipsed by the size of the opportunity for Java as a free and open technology. [...] This week the IcedTea Project reached an important milestone — The latest OpenJDK binary included in Fedora 9 (x86 and x86_64) passes the rigorous Java Test Compatibility Kit (TCK). This means that it provides all the required Java APIs and behaves like any other Java SE 6 implementation — in keeping with the portability goal of the Java platform."

10 of 271 comments (clear)

  1. Mono needs a similar testsuite. by Anonymous Coward · · Score: 5, Insightful

    If Mono wants to ever become suitable for enterprise use, it will need a testsuite and compatibility kit like this. One of the main benefits of Java is the stringent standards that implementations must adhere to. This brings a level of predictability that we just can't get from .NET or Mono. And for huge enterprise apps, that predictability is totally necessary.

  2. Apple by thomas.galvin · · Score: 4, Insightful

    Sweet. Maybe was can start getting Java VMs on the Mac less than a decade after they're released now.

  3. Re:Really ? by bsDaemon · · Score: 5, Insightful

    Because each generation of "software guy" becomes n+1 generations removed from being a hardware guy himself. That is to say, the tools become "better" to make programming "easier" for people who aren't also electrical engineers.

    At least, if I had to guess, that's what I'd say.

  4. Re:Language Compatibility vs. Class Libraries by CastrTroy · · Score: 4, Insightful

    I'm not sure how much more performance you could achieve simply by culling the unused stuff. Java already dynamically loads only the classes you use into memory. We have gotten to a point where people don't want to rewrite their own XML parsers, sorting algorithms, cryptography libraries, UI components, network connection handling functions, and all the other wonderful stuff provided by the .net and Java APIs. We're probably a lot better off because of it. Less time wasted writing code that someone has already written a million times. If you still want a smaller version of the JDK, there's always the Java Micro Edition Platform.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  5. Re:bfd by Jah-Wren+Ryel · · Score: 4, Insightful

    What is it that is "wrong" in the platform? The fact that the base implementation is solid enough that few others found need to rewrite that wheel? Because you get people coding to the bugs of the implementation without even realizing it, since it works after all. And then eventually you reach a point where new versions don't fix the bugs because too many systems depend on them. Sound like a monopolist you know?
    --
    When information is power, privacy is freedom.
  6. Re:bfd by DickBreath · · Score: 4, Insightful

    Question: How long did it take Wine to come up with something mostly compatible with Windows? Fifteen years?

    Have you considered that Java is almost like writing an OS? A runtime byte code, compiled form multiple source languages. Almost every service of an OS provided in a portable way. (eg, sound, video, graphics, multiple portable widget toolkits, network access, file access, system tray access, and the list goes on...)

    GNU Classpath is mostly compatible now. Much like Wine.

    --

    I'll see your senator, and I'll raise you two judges.
  7. Re:Language Compatibility vs. Class Libraries by Anonymous Coward · · Score: 5, Insightful

    And as examples of bloat, you had to pick Swing, NIO and logging?!?

    Logging is a quasi-identical to Apache's log4j, indeed this caused bad feelings among log4j's authors who felt Sun should just have officialized their API. Of course the reason Sun used it as an (ahem) inspiration is that it's very good, as demonstrated by the absolutely huge number of projects using it. And you know as well as I do that rolling out your own is a common developer trait, *especially* for trivial things like that.

    NIO is brilliant. If it's too complex or low-level for you, just use the "old IO", which is *also* good - just not as low-level.

    Swing, I can understand your feeling. Although the real problem with Swing is not "bloat" as in unnecessary complex and featurefull, it's that even though it only shipped in a JDK with 1.2 (which had the Collection framework), Sun bowed to short-sighted morons who kicked a fuss when it was suggested that it be put in java.swing (instead of javax.swing), and as a result still uses the old Vector and so on.

    Generally speaking, what you call "bloat" is due to:
    - the presence of libraries *you* don't use. Guess what, other people do.
    - the provision for extensions. For instance, the java.net package is chock full of factories, abstract classes and interfaces that you seem to disdain. And indeed to 98% of developers who just use it for the net, that's all pretty pointless. The upshot is that should you require Unix or X25 sockets, you can still use the same API - I've seen it done. Sure you have to write the C code, but the Java code is all the same except the bit that gets the address. How many open-source language don't even have a common low-level DB API, forcing you to write you own single use abstraction layer when you need to target several DBs? At least with Java you know it's JDBC. Always.

    Sun's attitude towards libraries has always been, as far as Java is concerned at least, make the simple easy, make the difficult possible. To me that's good design. Of course it means that easy can be more complex than with more specific APIs. But those tend to not allow the difficult at all :-(

  8. Re:bfd by PinkPanther · · Score: 4, Insightful
    Or maybe its that the default implementation is really quite good.

    Which it is.

    Could it be improved? Sure it could...name a single software product that couldn't be. But there are many billions of dollars of IT projects that depend on Java, so trying to pass it off as immature, incomplete, incorrect or insufficient is nonsense.

    --
    It's a simple matter of complex programming.
  9. Re:Really ? by Reverend528 · · Score: 4, Insightful
    But linux runs on more hardware than OS X or windows. And it runs faster than both.

    Maybe it has more to do with the skill of the developers than anything else.

  10. Re:Just use a glove by setagllib · · Score: 4, Insightful

    Put down the crack pipe. Java still has at least 3-4x as much penetration as .NET in the enterprise alone, and in community open source .NET barely makes an appearance at all. Microsoft's marketing should not be confused for fact.

    --
    Sam ty sig.