You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and HystrixCommandProperties. Maybe other places as well.
The text was updated successfully, but these errors were encountered:
Just to be clear on what you're proposing, it would be the addition of new methods (like HystrixCommandProperties.defaultSetter(). Then your Groovy code could choose to invoke those new methods and existing applications using Hystrix would be unaffected?
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 Setter() method using a capital letter is a particular style at Netflix? Pretty uncommon to see capitalized method names which must be why this issue with Groovy isn't a bigger deal.
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: