[ 
https://issues.apache.org/jira/browse/SIS-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Desruisseaux updated SIS-469:
------------------------------------
        Fix Version/s:     (was: 1.1)
                       1.2
    Affects Version/s: 1.1

> Remove support for JAXB internal implementation (JDK 8)
> -------------------------------------------------------
>
>                 Key: SIS-469
>                 URL: https://issues.apache.org/jira/browse/SIS-469
>             Project: Spatial Information Systems
>          Issue Type: Task
>          Components: Metadata, Referencing, Storage
>    Affects Versions: 1.0, 1.1
>            Reporter: Martin Desruisseaux
>            Priority: Minor
>             Fix For: 1.2
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to