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

David Smiley commented on SOLR-17379:
-------------------------------------

I didn't know Lucene had a special TestSecurityManager.  Looking at its 
javadocs, it exists only to prevent a test calling System.exit.  Wow; what a 
heavy-handed solution to a non-problem in practice (I say naively without 
looking deeper at the situation that led to this).  +1 to use the standard one 
in tests.

We can discuss non-test in the existing thread(s) on the dev list about the 
SecurityManager.

> 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