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

Bug related Java (CordovaLib:compileDebugJavaWithJavac).

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      ADDITIONAL SYSTEM INFORMATION :
      System - HP 445 G6
      OS - 64-bit Operating System, x-64 based processer
      Java runtime information - 1.8.0_60

      A DESCRIPTION OF THE PROBLEM :
      While make a build of android apk using java 1.8.0_60 , Gradle 7.5.1 , cordova 11.0.0 ,node 16.2.1 versions, Setup and requirements was all ok but while making build the bug related Java Execution failed for task ':CordovaLib:compileDebugJavaWithJavac' ,An exception has occurred in the compiler (1.8.0_60).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      After setting java, gradle, npm, sdk path then using cordova build command produce the bud like CordovaLib:compileDebugJavaWithJavac.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Bulid Successful
      ACTUAL -
      > Task :CordovaLib:compileDebugJavaWithJavac FAILED
      An exception has occurred in the compiler (1.8.0_60). Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report
      java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)

      FAILURE: Build failed with an exception.
      * What went wrong:
      Execution failed for task ':CordovaLib:compileDebugJavaWithJavac'.
      > Compilation failed; see the compiler error output for details.

      Attachments

        Issue Links

          Activity

            People

              adev ANUPAM DEV
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: