-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Workaround for Groovy bug #967
Comments
Just to be clear on what you're proposing, it would be the addition of new methods (like |
Yeah that seems like the responsible choice if you were willing to add other methods for us. Just having a wrapper method which just turns around and calls the other would be perfect for us. I'm curious if the |
That code style is not a standard, I'm not sure why that naming approach was chosen. Can you take a look at #968 to make sure that's what you had in mind? |
There is a Groovy bug (https://issues.apache.org/jira/browse/GROOVY-6286) which is causing us problems. Basically if a top level class has a static method name that is exactly the same as an inner class, the code will fail. Would it be possible to add alternative method names to Hystrix setter calls as a workaround for this? Obviously Groovy should fix this issue but it seems like it's been a problem for a long time.
Code like this fails:
HystrixThreadPoolProperties.Setter()
Maybe something like this as an alternative method invocation:
HystrixThreadPoolProperties.setterInstance()
This is a problem for
HystrixThreadPoolProperties
andHystrixCommandProperties
. Maybe other places as well.The text was updated successfully, but these errors were encountered: