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

Javac compiler message file broken: key=compiler.misc.msg.bug arguments

XMLWordPrintable

    • x86_64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Agent name: 'Azure Pipelines 2'
      Agent machine name: 'fv-az128-268'
      Current agent version: '2.183.1'
      Operating System
      Ubuntu
      18.04.5
      LTS
      Virtual Environment
      Environment: ubuntu-18.04
      Version: 20210318.0

      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      Maven home: /usr/share/apache-maven-3.6.3
      Java version: 11.0.10, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/adoptopenjdk-11-hotspot-amd64
      Default locale: en, platform encoding: UTF-8
      OS name: "linux", version: "5.4.0-1040-azure", arch: "amd64", family: "unix"


      A DESCRIPTION OF THE PROBLEM :
      When we try to compile our code we are getting the following trace of errors:

      2021-03-24T15:33:45.4171578Z [INFO] Compiling 24 source files to /home/vsts/work/1/s/pipeline/target/classes
      2021-03-24T15:33:49.2094997Z compiler message file broken: key=compiler.misc.msg.bug arguments=11.0.10, {1}, {2}, {3}, {4}, {5}, {6}, {7}
      2021-03-24T15:33:49.2095648Z java.lang.StackOverflowError
      2021-03-24T15:33:49.2108968Z at jdk.compiler/com.sun.tools.javac.comp.Attr.check(Attr.java:226)
      2021-03-24T15:33:49.2110426Z at jdk.compiler/com.sun.tools.javac.comp.Attr.visitLiteral(Attr.java:4185)
      2021-03-24T15:33:49.2111578Z at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2276)
      2021-03-24T15:33:49.2112718Z at jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr.visitTree(ArgumentAttr.java:207)
      2021-03-24T15:33:49.2113988Z at jdk.compiler/com.sun.tools.javac.tree.JCTree$Visitor.visitLiteral(JCTree.java:3104)
      2021-03-24T15:33:49.2115198Z at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2276)
      2021-03-24T15:33:49.2116289Z at jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr.attribArg(ArgumentAttr.java:197)
      2021-03-24T15:33:49.2117477Z at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:653)
      2021-03-24T15:33:49.2118737Z at jdk.compiler/com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:751)
      2021-03-24T15:33:49.2119875Z at jdk.compiler/com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1997)
      2021-03-24T15:33:49.2121079Z at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
      2021-03-24T15:33:49.2122269Z at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655)
      2021-03-24T15:33:49.2123316Z at jdk.compiler/com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3573)
      2021-03-24T15:33:49.2124427Z at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2114)
      2021-03-24T15:33:49.2125585Z at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655)
      2021-03-24T15:33:49.2126610Z at jdk.compiler/com.sun.tools.javac.comp.Attr.visitApply(Attr.java:2006)
      2021-03-24T15:33:49.2127688Z at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1634)
      ...

      REGRESSION : Last worked in version 8u281

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Compiles successfully.
      ACTUAL -
      Error in Description

      FREQUENCY : always


            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: