BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News IcedTea: The First 100% Compliant Open-Source Java

IcedTea: The First 100% Compliant Open-Source Java

This item in japanese

Bookmarks
This week it was announced that the RedHat-initiated IcedTea project, along with OpenJDK, has reached 100% compliance with the Java Test Compatibility Kit (TCK), officially becoming the first completely open-source (GPL-licensed) Java implementation to pass the TCK.
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.
Passing the TCK is generally considered a significant effort:
The Java TCK is a complex suite of tools and documentation that verifies that Java implementations conform to the Java specification. It consists of more than 80,000 tests and over 1 million lines of code.
As discussed previously on InfoQ , the IcedTea project is able to be a 100% GPL-licensed Java implementation by utilizing OpenJDK release snapshots, and replacing the remaining 5% of propertiary components with replacements from the GNU Classpath project.
The IcedTea project was created by the GNU Classpath team along with a handful of RedHat developers due to the need to replace all of the proprietary code with open source implementations. GNU Classpath provides many GPL-licensed replacements of the proprietary-licensed binary plugs still found in OpenJDK, making an IcedTea build of OpenJDK more-readily available for distributions on platforms such as Redhat's Fedora Linux distribution. Fedora 9 contains functionally complete OpenJDK packages, in part due to the contributions from IcedTea.
Other open-source Java implementations, such as Apache Harmony, have been unable up to this point to pass the TCK, however not all of the difficulties have been related to technical issues. In April of 2007, the Apache Software Foundation sent an open letter to Sun Microsystems with the intent of solving key issues with licensing the TCK for testing against the Harmony platform; licensing issues that prevented the Harmony team from legally running the TCK in an open-source way. While Sun responded to the open letter, there has as-of-yet been no resolution of the licensing issues for the Harmony team, and they are still unable to run the TCK.

The IcedTea project is not subject to the same licensing issues as Apache Harmony, as Sun has provided a special version of the TCK license that is targeted to any Java implementation that is a derivative of OpenJDK; something that Apache Harmony cannot claim.

InfoQ will continue to report on the development of open-source Java implementations as new information becomes available.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Should we distribute Jython and/or JRuby with IcedTea?

    by Bill Burke,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    The dev manager of Iced Tea asked me an interesting question: Should we bundle JRuby and Jython with the IcedTea download?


    Let me know...


    --

    Bill Burke

    JBoss, a division of Red Hat

    bill.burkecentral.com

  • Re: Should we distribute Jython and/or JRuby with IcedTea?

    by Jonas Bonér,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    None of them, bundle Scala :-)

  • Re: Should we distribute Jython and/or JRuby with IcedTea?

    by Clinton Lee,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    The dev manager of Iced Tea asked me an interesting question: Should we bundle JRuby and Jython with the IcedTea download?
    Let me know...
    --
    Bill Burke
    JBoss, a division of Red Hat
    bill.burkecentral.com

    Initially I thought that would be good, but then changed my mind to 'no' for two reasons:

    1) A developer a can't assume its there as standard (ie: the sun jdk doesn't have it),

    2) It should be very easy to install as a library anyway with just a 'yum install jruby/jython' command.

    But I suppose it does have advantages if you are using [j]ruby or [j/p]ython frameworks.

  • Re: Should we distribute Jython and/or JRuby with IcedTea?

    by Viktor Klang,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Jonas, you crazy guy. ;D

  • Re: Should we distribute Jython and/or JRuby with IcedTea?

    by Weiqi Gao,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    What benefits would bundling JRuby and Jython with IcedTea bring?

    And when you talk about IcedTea, do you mean the build harness only, or a complete OpenJDK packages in Fedora 9.

    If it is the latter, then my question is "what do you mean by \"bundle\"?" If it means when an end user installs "openjdk" by invoking the "yum install openjdk" command the system will also install JRuby and Jython after which the user cannot remove just the JRuby or Jython part by invoking "yum remove jruby" or "yum remove jython", I'd say that's a bad thing.

    If it means that the IcedTea team, after tackling the OpenJDK build/packaging problems, culminating in the inclusion of "openjdk" in Fedora 9, would like to do the same for JRuby and Jython, essentially allowing the newest versions of JRuby and Jython to be easily installed and removed from an end users system, I'd say that's a good thing.

  • Re: Should we distribute Jython and/or JRuby with IcedTea?

    by Dean Del Ponte,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Groovy please!

  • Not for Profit Open Source Community TCK License Agreement

    by Niall P,

    Your message is awaiting moderation. Thank you for participating in the discussion.

  • Re: Not for Profit Open Source Community TCK License Agreement

    by Bill Burke,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Red hat has licensed (paid for) the JDK.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT