[ https://issues.apache.org/jira/browse/THRIFT-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5797. -------------------------------- Fix Version/s: 0.21.0 Assignee: Jens Geyer Resolution: Fixed > 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 > Assignee: Jens Geyer > Priority: Major > Fix For: 0.21.0 > > 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)