Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-410

CI Broken by JDK 15 changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.9.0
    • None

    Description

             [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.2-SNAPSHOT:compile (default-compile) on project error-prone-compiler: Compilation failure
      
             [ERROR] /home/jenkins/jenkins-slave/workspace/box_maven-compiler-plugin_master@2/linux-jdk15-m3.6.x_build/target/it/error-prone-compiler/src/main/java/MyClass.java:[20,8] cannot access java.lang.Object
      
             [ERROR]   bad class file: /modules/java.base/java/lang/Object.class
      
             [ERROR]     class file has wrong version 59.0, should be 53.0
      
             [ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.
      
             [ERROR] -> [Help 1]
      
             org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.2-SNAPSHOT:compile (default-compile) on project error-prone-compiler: Compilation failure
      
             /home/jenkins/jenkins-slave/workspace/box_maven-compiler-plugin_master@2/linux-jdk15-m3.6.x_build/target/it/error-prone-compiler/src/main/java/MyClass.java:[20,8] cannot access java.lang.Object
      
               bad class file: /modules/java.base/java/lang/Object.class
      
                 class file has wrong version 59.0, should be 53.0
      
                 Please remove or make sure it appears in the correct subdirectory of the classpath.
      

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            elharo Elliotte Rusty Harold
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: