[fedora-java] Jonas vs JTA

Bryce McKinlay mckinlay at redhat.com
Thu Jul 14 14:58:05 UTC 2005


java-1.4.2-gcj-compat provides a jta.jar which is linked against 
libgcj's libgcj.jar.

It seems that libgcj is wrong to include JTA in the core class 
libraries. Previous J2SE versions may have included all of 
javax.transaction, but the current specs for 1.4.2 and 1.5 show that the 
J2SE now only includes a few exceptions, which are required by CORBA.

Further, this creates difficulties testing FC's Jonas with other 
jpackaged JVMs because they require a separate jta.jar.

I propose:

1. Removing JTA from libgcj/classpath (leaving just the 3 exceptions in 
javax.transaction which are provided by the J2SE)
2. Remove the jta.jar link from java-gcj-compat
3. Include a separate jta package in Fedora that contains jta.jar

Anyone have concerns/problems with this?

Bryce




More information about the java-devel mailing list