-
Notifications
You must be signed in to change notification settings - Fork 174
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
Fix for bug #463042 #425
Fix for bug #463042 #425
Conversation
by avoiding sharing the ListExpressionOperator instance between threads. This is achieved by cloning the operator instance in ArgumentListFunctionExpression.postCopyIn(). Before, getDatabaseStrings() and parallel modifications to numberOfItems were clashing. https://bugs.eclipse.org/bugs/show_bug.cgi?id=463042 Change-Id: Ia2e29da74797494394d0323dcc5ded501d72b433 Signed-off-by: Patrick Haller <[email protected]>
to satisfy @OverRide annotation. Change-Id: I79678e6a132c4638bf7447da5c5e9aa8521a10e2 Signed-off-by: Patrick Haller <[email protected]>
.. to its former state. This restores unit tests in TestCaseQuery. Change-Id: I63abadaa6d4da82c4e697a03f94e7f4e9c7ace24 Signed-off-by: Patrick Haller <[email protected]>
Ping on the pull request. Please include in an upcoming release. |
@patrickmhaller I can't actually do anything here since I'm not a committer. I've just submitted a few patches here and there; in fact I have a PR myself that's been languishing for almost 2 years now (#427). But I noticed the whole codebase was reorganized in master branch to Mavenize the build process, so your patch probably needs to be updated. |
Sorry, but currently I see there two blockers for this PR
|
@rfelcman First, thanks for looking into this. In regards to unit test, as described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=463042, this is a multi-threading problem. I will try to look into rebasing onto HEAD but it'll me take some time. |
I think a more comprehensive fix for this issue (specifically for master) would be to remove the @patrickmhaller |
Thanks a lot for taking care of this!! |
by avoiding sharing the ListExpressionOperator
instance between threads. This is achieved by
cloning the operator instance in
ArgumentListFunctionExpression.postCopyIn().
Before, getDatabaseStrings() and parallel modifications to
numberOfItems were clashing.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=463042
Change-Id: Ia2e29da74797494394d0323dcc5ded501d72b433
Signed-off-by: Patrick Haller [email protected]