You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Shawn Heisey (Jira)" <ji...@apache.org> on 2023/09/27 17:16:00 UTC

[jira] [Commented] (SOLR-17001) Adjust workaround for JDK17 bug so it only applies to specific versions with the bug

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

Shawn Heisey commented on SOLR-17001:
-------------------------------------

Attached patch with a finished and tested shell script change.  Patch also includes changes for Windows, but those have not been tested yet.  I accidentally killed the storage on my own Windows machine, will need to borrow one for testing.

> Adjust workaround for JDK17 bug so it only applies to specific versions with the bug
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-17001
>                 URL: https://issues.apache.org/jira/browse/SOLR-17001
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>    Affects Versions: 9.3
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>            Priority: Minor
>              Labels: patch
>         Attachments: SOLR-17001.patch
>
>
> SOLR-16463 added a workaround in the bin/solr and bin\solr.cmd scripts for a bug in JDK 17 and 19.  That workaround assumes that any Java version 17 or later is affected.
> At the time the workaround was implemented, there were no released Java versions without the bug.  Now there are.
> This issue will add detection for good and bad Java versions.



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

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