File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -538,11 +538,10 @@ is only meant for documentation purposes and doesn't carry any semantics.
538538=== Mocking Classes
539539
540540Besides interfaces, Spock also supports mocking of classes. Mocking classes works
541- just like mocking interfaces; the only additional requirement is to put `cglib-nodep-2.2` or higher
542- and `objenesis-1.2` or higher on the class path. If either of these libraries is missing from
543- the class path, Spock will gently let you know.
544-
545- NOTE: Java 8 is only supported from CGLIB 3.2.0 onwards.
541+ just like mocking interfaces; the only additional requirement is to put `byte-buddy` 1.9+ or
542+ `cglib-nodep` 3.2.0+ on the class path. When using normal ``Mock``s or ``Stub``s or ``Spy``s that are
543+ configured accordingly, it is also necessary to put `objenesis` 3.0+ on the class path.
544+ If either of these libraries is missing from the class path, Spock will gently let you know.
546545
547546== Stubbing
548547
You can’t perform that action at this time.
0 commit comments