OpenJDK Regression Test Harness (jtreg) - open source

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Mon May 5 15:07:36 UTC 2008


Mark,

Thanks for the additional info, about javax.comm and alternate versions.

This API is not required by jtreg as much as by jtharness.  jtharness  
provides
a feature that some test suites may use to run tests remotely, via a  
serial
line. jtreg has never needed that feature and does not support it.

The issue arises for those folk that want to build jtreg (and  
jtharness) from
source. With its new license, jtharness provides an unencumbered binary
download, which is sufficient to build and use with jtreg.  The binary  
download
will contain references to javax.comm, but no implementation of  
javax.comm,
which you must download and put separately on the classpath. jtreg  
doesn't
use that part of JT Harness and so never gets a ClassNotFoundException.

But, if you want to build everything from source, then these  
references in the
jtharness code can be problematic.  So far, this has not been an issue  
for
JT Harness and the JT Harness team has not seen to figure a solution  
here.
But, we appreciated it might be an issue for jtreg, which is why we  
provided
build instructions to work around the problem.

If there is a version of javax.comm available under an OSI-approved  
license
and if JT Harness can just be compiled against it, then that would  
also be a
satisfactory solution.

-- Jon


On May 5, 2008, at 4:39 AM, Mark Wielaard wrote:

> Hi,
>
> On Sun, 2008-05-04 at 18:56 -0700, Jonathan Gibbons wrote:
>> The intent is to say that I do not know of an suitable unencumbered
>> implementation of the javax.comm classes.  Sun provides an
>> implementation, but it is old and barely supported.
>>
>> There is an open source implementation of those classes in a  
>> different
>> package -- in gnu.io.  So for each class in javax.comm that JTHarness
>> would otherwise use, there is an equivalent class in gnu.io,
>
> There is http://www.rxtx.org/ from Trent Jarvi which provides the  
> gnu.io
> version. There is also the GNU ClasspathX javax.comm (based on rxtx)  
> by
> Chris Burdess at: ftp://ftp.gnu.org/gnu/classpathx/
> [I haven't tried this yet with jtreg]
>
> There are different javax.comm API versions, not all of them are
> compatible, which is why rxtx created their own interfaces in gnu.io.
> See also http://mailman.qbang.org/pipermail/rxtx/20051216/001960.html
>
> Cheers,
>
> Mark
>




More information about the discuss mailing list