-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
HHH-19181: Remove LGPL-only contributions - Batch 3 #9814
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
Conversation
…akur8-tech.com>
|
Thanks for your pull request! This pull request appears to follow the contribution rules. › This message was automatically generated. |
| final SqmPolymorphicRootDescriptor<R> unmappedPolymorphicDescriptor = (SqmPolymorphicRootDescriptor<R>) unmappedPolymorphicReference.getReferencedPathSource(); | ||
| final Set<EntityDomainType<? extends R>> implementors = unmappedPolymorphicDescriptor.getImplementors(); | ||
| final SqmPolymorphicRootDescriptor<?> unmappedPolymorphicDescriptor = (SqmPolymorphicRootDescriptor<?>) unmappedPolymorphicReference.getReferencedPathSource(); | ||
| final Set<EntityDomainType<?>> implementors = unmappedPolymorphicDescriptor.getImplementors(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn’t say that we need to roll back such trivial things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify, I would not necessarily say it is trivial. But I do think it is questionable whether the change is obvious and self-evident. I think given the request, this is how any of us would have implemented it.
And in fact, @beikov contributed much to the actual implementation - #7468 (comment)
Let's roll back this removal
Really, this change is simply marking the validation threads as daemons. The code had already used threads for this purpose. I think that marking those threads as daemons is self-evident. So to me, this becomes a question of whether we would have made changes differently. After numerous web searches, the pattern used here is exactly the approach recommended in places like Stackoverflow and blogs - so I'd have to say no, this is a non-novel solution. |
|
@koentsje You want to rework the PR per those comments? I can if you prefer, just let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments for requested changes
|
See #9826 for alternative keeping just the 330d2fb commit from here which removes
|
|
Going with my PR for now as I have not heard back and want to get this moving along. We can looking at cherry-picking any of these other removals later if we deem it necessary |
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.