I have just switched my dev box to use the latest Oracle JDK 7 (u3) and noticed that it won't compile.
Here is the full message: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project org.apache.karaf.package.core: Compilation failure: Compilation failure: [ERROR] /home/uromahn/Projects/apache-karaf-trunk/package/core/src/main/java/org/apache/karaf/packages/core/internal/PackageServiceImpl.java:[46,45] error: incompatible types [ERROR] Object [ERROR] /home/uromahn/Projects/apache-karaf-trunk/package/core/src/main/java/org/apache/karaf/packages/core/internal/PackageServiceImpl.java:[70,45] error: incompatible types [ERROR] Object [ERROR] /home/uromahn/Projects/apache-karaf-trunk/package/core/src/main/java/org/apache/karaf/packages/core/internal/PackageServiceImpl.java:[90,45] error: incompatible types When I build the same using openjdk 1.6, everything builds just fine. I am doing the build with SVN revision 1308440 on CentOS 6.2 64bit with the following MAVEN_OPTS: -client -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=640m -XX:ReservedCodeCacheSize=64m I am in the process investigating what exactly is wrong here, but I still wanted to let you know. -- View this message in context: http://karaf.922171.n3.nabble.com/Trunk-not-building-on-JDK-7-tp3878598p3878598.html Sent from the Karaf - Dev mailing list archive at Nabble.com.
