Fixed issue 6770 - write method do not truncate the file content
Merge pull request #413 from pditommaso/groovy-nio

Fixed issue 6770 - write method do not truncate the file content
GROOVY-6779: Groovysh ":purge all" and ":show all" commands fail

catch correct exception type
GROOVY-6693 add regression test
GROOVY-6750: Fix inner class table when invokedynamic is on
GROOVY-6478: ensure placeholder generation is using a correct representation when connecting generics
GROOVY-6771, GROOVY-6768: GroovyMain should set the context class loader to the GroovyClassLoader