Class MvelOverloadWorkaroundReproduction

java.lang.Object
org.broadleafcommerce.test.common.rule.MvelOverloadWorkaroundReproduction

public class MvelOverloadWorkaroundReproduction extends Object
Run the test case as a java main application in a new JVM. This seems to be required to cause the variability in the ordering of the call to Class#getMethods on SelectizeCollectionUtils. In this case, we should be using the refactor of SelectizeCollectionUtils that no longer has method overloading for #intersection, which should avoid the mvel issue altogether.

See Class.getMethods() for mention of the undetermined ordering behavior.
Author:
Jeff Fischer
  • Constructor Details

    • MvelOverloadWorkaroundReproduction

      public MvelOverloadWorkaroundReproduction()
  • Method Details

    • main

      public static void main(String[] items)