spring-cloud-netflix: Unable to build or run all tests successfully on windows

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 27 (16 by maintainers)

Commits related to this issue

Most upvoted comments

It looks like RibbonClientConfiguration is assuming that its inner classes will be considered in the order in which they are declared in the source code. That’s not a safe assumption to make. It’s entirely dependant on the byte code produced by the compiler and how ASM loads that byte code. You either need to make the property conditions mutually exclusive, or move the configurations to top-level classes and use @Import which does provide ordering guarantees.