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

Uwe Schindler updated SOLR-6382:
--------------------------------

    Description: 
see parent issue about the problem, here short description:
{quote}
I am currently doing tests with Java 9 build 26. It looks like everything 
works, but the TIKA Language Processor Test Suite throws a SecurityException 
because of:
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/48af79ee59bb
{quote}

This issue forbids to look inside the Class class using reflection (because all 
the fields in it are JVM generated and do not really "exist" outside and should 
not be accessible). Because of this, the Class class does not allow its fields 
(especially "classLoader") to be reflected.

I fixed the RAMUsageTester in test-framework. But carrot's RandomizedTesting 
has the same issue.

  was:
see parent issue about the problem, here short description:
{quote}
I am currently doing tests with Java 9 build 26. It looks like everything 
works, but the TIKA Language Processor Test Suite throws a SecurityException 
because of:
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/48af79ee59bb
{quote}

This issue forbids to look inside the Class class in java using reflection 
(because all the fields in it are JVM generated and do not really "exist" 
outside and should not be accessible. Because of this the Class class does not 
allow its fields (especially "classLoader") to be reflected.

I fixed the RAMUsageTester in test-framework. But carrot's RandomizedTesting 
has the same issue.


> Check what's with RAM accounting and Java9
> ------------------------------------------
>
>                 Key: SOLR-6382
>                 URL: https://issues.apache.org/jira/browse/SOLR-6382
>             Project: Solr
>          Issue Type: Sub-task
>          Components: contrib - LangId
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>              Labels: Java9
>             Fix For: 5.0, 4.10
>
>         Attachments: SOLR-6382.patch
>
>
> see parent issue about the problem, here short description:
> {quote}
> I am currently doing tests with Java 9 build 26. It looks like everything 
> works, but the TIKA Language Processor Test Suite throws a SecurityException 
> because of:
> http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/48af79ee59bb
> {quote}
> This issue forbids to look inside the Class class using reflection (because 
> all the fields in it are JVM generated and do not really "exist" outside and 
> should not be accessible). Because of this, the Class class does not allow 
> its fields (especially "classLoader") to be reflected.
> I fixed the RAMUsageTester in test-framework. But carrot's RandomizedTesting 
> has the same issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to