Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8198582

Split java.sql to create module java.transaction.xa

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 11
    • Component/s: other-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      source, binary
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      There should be no compatibility issues with this change. Any module that `requires java.sql` will continue to have access to the public classes in the javax.transaction.xa package at both compile-time and run-time.
    • Interface Kind:
      Java API, Other
    • Scope:
      SE

      Description

      Summary

      JSR 907 1.3 MR indicated that the javax.transaction.xa package will be subsumed by Java SE. As part of that effort, we will need to create a new module java.transaction.xa.

      Problem

      javax.transaction.xa should be provided in its own module now that it has been subsumed by Java SE.

      Solution

      Remove javax.transaction.xa from the java.sql module and create the java.transaction.xa module. The java.sql module will still require use of the new module but it will make it easier for other technologies who may desire to use the javax.transaction.xa package.

      Specification

      The changes may be seen at http://cr.openjdk.java.net/~lancea/8197533/webrev.00/index.html and the webrev is also attached.

        Attachments

        1. webrev.zip
          371 kB
        2. webrev.zip
          371 kB

          Issue Links

            Activity

              People

              • Assignee:
                lancea Lance Andersen
                Reporter:
                alanb Alan Bateman
                Reviewed By:
                Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: