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

Eric Pugh commented on SOLR-17588:
----------------------------------

This commit is breaking branch_9x....    Due to the Java version:

 

 
> Task :solr:solrj:compileJava FAILED
/Users/epugh/Documents/projects/solr2/solr/solrj/src/java/org/apache/solr/common/util/JavaBinCodec.java:444:
 error: pattern matching in instanceof is not supported in -source 11
    if (val instanceof float[] ff) {
                               ^
  (use -source 16 or higher to enable pattern matching in instanceof)

> javabin must support primitive arrays
> -------------------------------------
>
>                 Key: SOLR-17588
>                 URL: https://issues.apache.org/jira/browse/SOLR-17588
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> javabin does not support primitive arrays such as float[], long[], int[] etc. 
> So, now we need to convert them to List<Float>, List<Long>, List<Integer> etc 
> which is inefficient and inconvenient



--
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