-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the Collectors returned by Collectors2AdditionalTest.sumBy*() methods thread-safe. #1680
Comments
Hi @motlin ! I'm Riya Sharma, and I'm new to contributing to open source. I came across this issue and would love to help solve it. I’ve read through the description and think it would be a great opportunity to start contributing. Looking forward to contributing and making a positive impact here! |
Thank you @Riya-Sharma12. I assigned this issue to you. Feel free to submit a pull request with "Fixes #1680" in the commit message. I saw you asked about joining the conversation on the email distribution list so I figured I'd mention that most conversation happens here in GitHub. |
Hi @motlin. I have looked into this issue and think I have come up with a fix but cannot run a local test on my fixes. I am not able to build my local repository. My issue: Not able to import any org.eclipse.collections*. Could you please help me set up this repository so that I can raise a PR? |
@vaibhaaavvv have you followed the steps in https://github.com/eclipse/eclipse-collections/blob/master/CONTRIBUTING.md? If so, what step fails, and with what error message? |
Yes @motlin I followed these steps and I am getting a compilation error in all the import org.eclipse.collections.api.block.function.primitive.* |
@vaibhaaavvv those look like IDE errors. Do you get any errors when you run the maven build? |
No. I am able to build the project successfully before importing the repo on my IDE. |
Sounds like a problem where the IDE doesn't recognize all the generated sources folders. I think you're using the Eclipse IDE, is that right?. Most of the contributors here use IntelliJ. Are you familiar with how to configure extra generated sources folder? |
Yes. In this case I am using Eclipse IDE. I'll try to import it in Intellij and will let you know if I face any issue. |
In #1679, we deleted flaky tests that were using these Collectors as if they were thread-safe from a parallel test. It's not clear to me if all Collectors must be thread-safe. Currently they are not thread-safe because they delegate directly to hashtable mutation methods on a non-thread-safe map. If these Collectors will be used from parallel contexts, we should make them thread-safe and possibly restore the deleted tests.
The text was updated successfully, but these errors were encountered: