You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Lukasz Lech (JIRA)" <ji...@apache.org> on 2018/10/24 08:21:00 UTC

[jira] [Commented] (TIKA-2674) Update some dependencies that are incompatible with Java 11

    [ https://issues.apache.org/jira/browse/TIKA-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16661917#comment-16661917 ] 

Lukasz Lech commented on TIKA-2674:
-----------------------------------

Have you tried issuing ticket to CXF team? Have you identified, what call is causing that warning (what fragment of CXF code invokes illegal operation?)

I've found an example of very cheesy activity here: [https://github.com/apache/cxf/blob/master/rt/transports/http/src/main/java/org/apache/cxf/transport/http/CXFAuthenticator.java]

It looks they try to access java.net.Authenticator.theAuthenticator directly, via runtime modification of accessor, instead of via java.net.Authenticator.getDefault(). 

Quite interesting (actually frustrating): I use Tika to read file metadata, I do nothing that would require authentication of any type, why Tika triggers CXF authentication code, why is CXF needed at all? All I try to do is to read JPEG/TIFF metadata....

> Update some dependencies that are incompatible with Java 11
> -----------------------------------------------------------
>
>                 Key: TIKA-2674
>                 URL: https://issues.apache.org/jira/browse/TIKA-2674
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Trivial
>
> So far...
> mockito -> 2.19.0
> bouncycastle -> 1.59



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)