Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8224801

exception thrown compiling robolectric

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      A DESCRIPTION OF THE PROBLEM :
      follow instructions to fork/clone and build robolectric http://robolectric.org/contributing/

      get to :
      ./gradlew clean assemble install compileTest


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      follow instructions to fork/clone and build robolectric http://robolectric.org/contributing/

      get to :
      ./gradlew clean assemble install compileTest


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      compile and build successfully
      ACTUAL -
      ```
      > Task :errorprone:compileJava FAILED
      An exception has occurred in the compiler (12.0.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.NoSuchMethodError: com.sun.tools.javac.util.Log.error(Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Ljava/lang/String;[Ljava/lang/Object;)V
              at com.google.errorprone.ErrorProneError.logFatalError(ErrorProneError.java:55)
              at com.google.errorprone.ErrorProneAnalyzer.finished(ErrorProneAnalyzer.java:155)
              at jdk.compiler/com.sun.tools.javac.api.MultiTaskListener.finished(MultiTaskListener.java:132)
              at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1418)
              at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1365)
      .
      .
      .
      ```

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              fmatte Fairoz Matte
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: