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

Houston Putman commented on SOLR-17379:
---------------------------------------

So after far too much debugging, I figured out that it's an issue with the 
security manager. The {{TestSecurityManager}} provided by Lucene swallows up 
the error for some reason, but going back to the default Security Manager 
prints out a TON of:

{{java.security.policy: error adding Permission, java.net.URLPermission:}}
{{        java.util.ServiceConfigurationError: Locale provider adapter 
"CLDR"cannot be instantiated.}}

While this doesn't matter for most tests, the French test relies on having more 
than just English, so it fails. When we remove the security manager this will 
start succeeding.

> ParsingFieldUpdateProcessorsTest failures using CLDR locale provider
> --------------------------------------------------------------------
>
>                 Key: SOLR-17379
>                 URL: https://issues.apache.org/jira/browse/SOLR-17379
>             Project: Solr
>          Issue Type: Test
>            Reporter: Chris M. Hostetter
>            Priority: Major
>         Attachments: SOLR-17379.test-1.patch, SOLR-17379.test.patch
>
>
> Background: https://lists.apache.org/thread/o7xwz8df6j0bx7w2m3w8ptrp4r7q957n
> Test failures from {{ParsingFieldUpdateProcessorsTest.testAKSTZone}} and 
> {{ParsingFieldUpdateProcessorsTest.testParseFrenchDate}} are seemingly 
> guaranteed on JDK23, due to the removal of the {{COMPAT}} local provider 
> option.
> On (some) earlier JDKs, these failures can be reproduced using...
> {noformat}
> ./gradlew test --tests ParsingFieldUpdateProcessorsTest  
> -Ptests.jvmargs="-Djava.locale.providers=CLDR -XX:TieredStopAtLevel=1 
> -XX:+UseParallelGC -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m"
> {noformat}
> ...to force the use off {{CLDR}} and exclude the use of {{COMPAT}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to