Joe Stein created KAFKA-1624: -------------------------------- Summary: building on JDK 8 fails Key: KAFKA-1624 URL: https://issues.apache.org/jira/browse/KAFKA-1624 Project: Kafka Issue Type: Bug Reporter: Joe Stein Fix For: 0.9.0
{code} Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken (class java.lang.RuntimeException/bad constant pool tag 18 at byte 10) error: error while loading Comparator, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/util/Comparator.class)' is broken (class java.lang.RuntimeException/bad constant pool tag 18 at byte 20) error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken (class java.lang.RuntimeException/bad constant pool tag 18 at byte 76) error: error while loading Arrays, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/util/Arrays.class)' is broken (class java.lang.RuntimeException/bad constant pool tag 18 at byte 765) /tmp/sbt_53783b12/xsbt/ExtractAPI.scala:395: error: java.util.Comparator does not take type parameters private[this] val sortClasses = new Comparator[Symbol] { ^ 5 errors found :core:compileScala FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:compileScala'. > org.gradle.messaging.remote.internal.PlaceholderException (no error message) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1 mins 48.298 secs {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)