DataBuffer, ColorModels and SampleModels
Phil.Race at Sun.COM
Wed May 9 07:37:31 PDT 2007
Tests fall into categories of
JCK/TCK - supposedly to be available for openjdk builds although I
haven't kept up with the intricacies of this
Regression tests - these are in the JDK under test but we are required
to vet them almost one by one to verify their provenance
and this is onerous. So most are not there yet.
SQE developed tests - no idea what the plan is
Performance - J2Dbench2 may have some color tests but I don't remember
seeing any ... but they can be added
Demos : Java2Demo. Not in openjdk yet but you can run the one from the
So you should at least test the images and color tabs of the 2D demo
and see if J2DBench has
any tests that make it worth running. Performance matters.
As for licensing as I understand it it has to come in to the openjdk
code base via a SCA
as we build the 'commercially' licensed one from the same code base.
Roman Kennke wrote:
> Hi again,
> Am Mittwoch, den 09.05.2007, 00:16 -0700 schrieb Phil Race:
>> Roman Kennke wrote:
>>> Thanks alot for the explanation Phil. I'll study the available code then
>>> and see what could possibly be done about the CMS problems.
>> you mean the littlecms code right? that's separate from these classes.
> As mentioned here:
> I've been able to build OpenJDK with GNU Classpath's color management
> classes. This was really a no-brainer and seems to work fine from my
> POV. It also fixes the GRAY->sRGB problem. The other two I couldn't
> easily test due to lack of testcases. Also, the OpenJDK code doesn't
> seem to ship with testcases for the color package in general, so I
> couldn't test the new classes at all (besides some simple programs I
> wrote myself and the Mauve suite). Are there any regression or other
> tests available for this?
> I don't know if this implementation is feasible for inclusion in
> OpenJDK. The code is copyrighted by the FSF and is licensed under the
> same license as OpenJDK. It's an open source project just as littleCMS
> or whatnot. Technically, I think it's attractive because it's a Java
> implementation and thus much easier to handle and portable than
> littleCMS. If you'd like to test this, the above linked page has a link
> to a small ZIP file containing the related classes.
More information about the 2d-dev