-
Task
-
Resolution: Fixed
-
P3
-
9
-
b17
Java SE includes a subset of the Java Transaction API (JTA), specifically 3 exceptions in javax.transaction and the complete javax.transaction.xa.
In Java SE 8 then compact2 is defined to include this subset of JTA. This is because of an API dependency in JBDC on the XA types in javax.transaction.xa. This is highly undesirable because the exceptions defined in javax.transaction are RemoteException which results in JDBC having a transitive dependency on RMI.
This task is created to tracking change compact2 in Java SE 9 to drop javax.transaction from compact2. The compatibility impact should be negligible.
In Java SE 8 then compact2 is defined to include this subset of JTA. This is because of an API dependency in JBDC on the XA types in javax.transaction.xa. This is highly undesirable because the exceptions defined in javax.transaction are RemoteException which results in JDBC having a transitive dependency on RMI.
This task is created to tracking change compact2 in Java SE 9 to drop javax.transaction from compact2. The compatibility impact should be negligible.