We used to keep the original feature methods and rewrote their body to throw an
exception saying "Feature methods cannot be called from user code". However,
the mere presence of exotic method names in class files caused problems on IBM
JDKs and when compiling with GroovyClassLoader (Spock Web Console,
EmbeddedSpecRunner). Also users reported problems every now and then (e.g.
http://spock-framework.3207229.n2.nabble.com/grails-trouble-illegal-method-name-
td6926833.html). Hence we decided that simply deleting the original feature
method is a better compromise.
Original issue reported on code.google.com by pnied...@gmail.com on 10 Feb 2012 at 2:34
Original issue reported on code.google.com by
pnied...@gmail.com
on 10 Feb 2012 at 2:34