neo4j/community — pull request #347 by ma1uta (2012-03-15 21:05:16+00:00)
Title: Solution for https://github.com/neo4j/community/issues/337

Reproduced on openjdk-6 and openjdk-7.

Environments:

Apache Maven 3.0.3 (r1075438; 2011-02-28 20:31:09+0300)
Maven home: /opt/apache-maven-3.0.3
Java version: 1.7.0_147-icedtea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: ru_RU, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-2-amd64", arch: "amd64", family: "unix"

java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-1)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

and

Apache Maven 3.0.3 (r1075438; 2011-02-28 20:31:09+0300)
Maven home: /opt/apache-maven-3.0.3
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: ru_RU, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-2-amd64", arch: "amd64", family: "unix"

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Iterables: compiler cannot resolve a type T when call iterables, so it changed T to Object and return the Iterable