Bug 170810 - [api][terminal-serial] RXTX (gnu.io) should be used for the serial backend instead of javax.comm
Summary: [api][terminal-serial] RXTX (gnu.io) should be used for the serial backend in...
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: Terminal (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL: http://www.rxtx.org/
Whiteboard:
Keywords: api
Depends on:
Blocks: 168893
  Show dependency tree
 
Reported: 2007-01-17 13:24 EST by Martin Oberhuber CLA
Modified: 2008-08-13 13:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-01-17 13:24:12 EST
The sun javax.comm (comm.jar) library is closed-source, old and has problems at least on Linux.

RXTX (http://www.rxtx.org/), on the other hand, is open source, known to work on 30+ platforms, actively being developed and seems to be a de-facto-standard for serial line access in Java. Moreover, RXTX native libs can be dropped into an Eclipse bundle and do not have to be installed into the JVM.

Therefore, TM terminal-serial should switch to using RXTX-2.1-7r2 instead of Sun javax.comm.
Comment 1 Travis Stratman CLA 2007-01-17 15:18:28 EST
The existing terminal serial view source code is compatible with RXTX-2.1.7r2 by simply changing all javax.comm to the gnu.io namespace and rebuilding.
Comment 2 Martin Oberhuber CLA 2007-01-17 15:23:40 EST
Terminal.serial now uses gnu.io namespace everywhere.

rxtx can reside as a JVM extension, or as an Eclipse bundle
(Manifest.mf has 
  Import-Package: gnu.io;resolution:=optional
)
Comment 3 Martin Oberhuber CLA 2007-02-14 11:17:02 EST
Closing [api] bugs that have apparently been fixed in the code.
Comment 4 Martin Oberhuber CLA 2008-08-13 13:16:56 EDT
[target cleanup] 2.0 M5 was the original target milestone for this bug