Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1624

bump up default scala version to 2.10.4 to compile with java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.2.0
    • None

    Description

      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
      

      Attachments

        1. KAFKA-1624.patch
          5 kB
          Guozhang Wang
        2. KAFKA-1624_2014-11-24_11:01:56.patch
          5 kB
          Guozhang Wang

        Activity

          People

            guozhang Guozhang Wang
            joestein Joe Stein
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: