[
https://issues.apache.org/jira/browse/THRIFT-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-5797:
-------------------------------
Component/s: netstd - Compiler
> HashSet() CTOR takes no argument for net < 5
> --------------------------------------------
>
> Key: THRIFT-5797
> URL: https://issues.apache.org/jira/browse/THRIFT-5797
> Project: Thrift
> Issue Type: Bug
> Components: netstd - Compiler
> Reporter: Jens Geyer
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Generating code for HashSet<>targeting netstd 2 produces uncompilable code,
> since the count parameter cannot be passed in:
> {code:java}
> var bar = new HashSet<Foo>(count); // requires net >= 5
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)