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

Martin Desruisseaux updated SIS-469:
------------------------------------
    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.


  was:
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.



> 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
>            Reporter: Martin Desruisseaux
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to