Fix for GROOVY-6386 - groovyc task throws ZipException when it
encounters classpath resources that are not jars.
Revert "Improve the grammar of a compiler error message"

This reverts commit 21610e630a5567c64873c4790eee5a1387aa4337.
activated "testIteratingWithList" test
Revert "Revert "Improve the grammar of a compiler error message""

This reverts commit ad6d1e274ad547e56452861e3a1a01936f02d00a.

I did not want to revert the "Improve the grammar of a compiler error message" commit, so I reverted the revert.
reactivated some tests
fix test for java 5
GROOVY-6357: Inner classes in Groovy should have the same access modifiers as in Java
Merge pull request #265 from jkschneider/master

Fix for GROOVY-6386 - groovyc task throws ZipException when it encounters classpath resources that are not jars.
GROOVY-6357: Fix the way modifiers are updated
fix 6387: groovysh completion for maps with 'class' entry

Should now work for instances having class member neither null
nor instanceof Class, as long as getClass() returns a Class instance.

See https://jira.codehaus.org/browse/GROOVY-6387

Signed-off-by: Thibault Kruse <kruset@in.tum.de>
useless function call
more code style, using class member instead of getClass Method
groovy.json.JsonLexerTest requires "unnecessary" Stringconcatenation, so do not apply this rule
Merge pull request #266 from tkruse/fix6387

fix 6387: groovysh completion for maps with 'class' entries
code style (readability: scope)
GROOVY-6390: Super constructor calls are not made using direct calls but using MOP
   * introduced InvocationWriter#makeSpecialConstructorCall
   * moved code from AsmClassGenerator to InvocationWriter#makeSpecialConstructorCall
   * specialized version of makeSpecialConstructorCall in @CompileStatic mode
GROOVY-6389: groovysh: Print results not using String.valueOf

Using java.lang.String.valueOf(obj) for instances of Arrays and Maps causes
Object.toString to be used for String generation, causing ugly output in groovysh

This commit avoids that instead which uses pretty output for collections.

As opposed to an earlier commit for Groovy 2.2, Arrays will be displayed
without their type.

Avoiding the GString here because of the earlier code
comment, not sure whether there is any risk using GString here or not
(Comment was from 2007, e222d4f5cf8cc7).
replace other occurences of String.valueOf in groovysh
Merge pull request #268 from tkruse/avoid_valueOf

GROOVY-6389: groovysh flawed display of collections 

print all results using toString() instead of String.valueOf()
Revert "Merge pull request #268 from tkruse/avoid_valueOf"

This reverts commit 98da3808b1ac9b03b214a4f6274c7f95c2e0ba38, reversing
changes made to a9d3b3ae3fee5a1d92d6d5bab350cc313cf4f9a7.

I missed the change to "MetaClassImpl.java". This needs further review, therefore reverted the commit.