[
https://issues.apache.org/jira/browse/TIKA-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681902#comment-16681902
]
Hans Brende edited comment on TIKA-2743 at 11/9/18 8:07 PM:
------------------------------------------------------------
[[email protected]] Runtime scope should theoretically still allow users to
build with Java 11, as long as the classes aren't used at compile time (which
they shouldn't be, unless I'm crazy. I *think* the only classes that should be
used at compile time are from {{jaxb-core}}, whereas {{jaxb-runtime}} defines
classes that are needed at runtime, but not at compile time).
(Note that "runtime" scope is the opposite of "provided" scope in this regard:
"runtime" defines classes present at runtime, but not present at compile time,
whereas "provided" scope defines classes present at compile time, but not
present at runtime.)
[~thetaphi] can you elaborate on the usages you're referring to?
was (Author: hansbrende):
[[email protected]] Runtime scope should theoretically still allow users to
build with Java 11, as long as the classes aren't used at compile time (which
they shouldn't be, unless I'm crazy. I *think* the only classes that should be
used at compile time are from {{jaxb-core}}, whereas {{jaxb-runtime}} defines
classes that are needed at runtime, but not at compile time).
[~thetaphi] can you elaborate on the usages you're referring to?
> Replace com.sun.xml.bind:jaxb-impl and jaxb-core by
> org.glassfish.jaxb:jaxb-runtime and jaxb-core
> -------------------------------------------------------------------------------------------------
>
> Key: TIKA-2743
> URL: https://issues.apache.org/jira/browse/TIKA-2743
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Affects Versions: 1.19
> Reporter: Thomas Mortagne
> Assignee: Tim Allison
> Priority: Major
> Fix For: 2.0.0, 1.19.1
>
>
> com.sun.xml.bind:* is actually the old name and is currently a repackaging of
> org.glassfish.jaxb:*. probably kept as a retro compatibility
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)