Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-469

Remove support for JAXB internal implementation (JDK 8)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0, 1.1, 1.2
    • 1.4
    • Metadata, Referencing, Storage
    • None

    Description

      Apache SIS 1.0 uses the JAXB implementation found in the com.sun.xml.internal.bind package, if presents, because this package is provided with Java 8. That JAXB implementation can optionally be replaced by the one in com.sun.xml.bind package (without internal), but we still want to use the internal implementation as a fallback.

      Starting with Java 11, the internal JAXB implementation is no longer available. Consequently there is no point in continuing to support that package after Apache SIS upgraded its requirement to Java 11. The codes to delete will be:

      • Implementation.INTERNAL
      • Implementation.toInternal(String)
      • Pooled.internal
      • Maybe more, to be investigated.

      Then, the provided scope of jakarta.xml.bind-api dependency in root pom.xml file should be removed. Since the default scope compile is transitive, jakarta.xml.bind-api dependencies declared downstream sis-metadata module can be removed.

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: