Description
e.g. paste this in Groovy web console:
import java.nio.channels.* abstract class Foo extends FileChannel { MapMode foo() { null } } print "hi"
startup failed:
Script1.groovy: 5: unable to resolve class MapMode
@ line 5, column 3.
MapMode foo()
^
1 error
If one qualifies the name: FileChannel.MapMode, the compilation succeeds