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

java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126)

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      A DESCRIPTION OF THE PROBLEM :
      编译器 (1.8.0_201) 中出现异常错误。如果在 Bug Database (http://bugs.java.com) 中没有找到该错误, 请通过 Java Bug 报告页 (http://bugreport.java.com) 建立该 Java 编译器 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。
      java.lang.AssertionError
      at com.sun.tools.javac.util.Assert.error(Assert.java:126)
      at com.sun.tools.javac.util.Assert.check(Assert.java:45)
      at com.sun.tools.javac.jvm.Items$LocalItem.<init>(Items.java:390)
      at com.sun.tools.javac.jvm.Items.makeLocalItem(Items.java:131)
      at com.sun.tools.javac.jvm.Gen.visitIdent(Gen.java:2305)
      at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2011)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:947)
      at com.sun.tools.javac.jvm.Gen.visitLetExpr(Gen.java:2404)
      at com.sun.tools.javac.tree.JCTree$LetExpr.accept(JCTree.java:2426)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:947)
      at com.sun.tools.javac.jvm.Gen.visitLetExpr(Gen.java:2404)
      at com.sun.tools.javac.tree.JCTree$LetExpr.accept(JCTree.java:2426)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:947)
      at com.sun.tools.javac.jvm.Gen.visitSelect(Gen.java:2341)
      at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1897)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:947)
      at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1837)
      at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:947)
      at com.sun.tools.javac.jvm.Gen.visitBinary(Gen.java:2151)
      at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1785)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:947)
      at com.sun.tools.javac.jvm.Gen.genCond(Gen.java:870)
      at com.sun.tools.javac.jvm.Gen.genCond(Gen.java:823)
      at com.sun.tools.javac.jvm.Gen.genLoop(Gen.java:1218)
      at com.sun.tools.javac.jvm.Gen.visitDoLoop(Gen.java:1167)
      at com.sun.tools.javac.tree.JCTree$JCDoWhileLoop.accept(JCTree.java:938)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:737)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:772)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:758)
      at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:809)
      at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1157)
      at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:737)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:772)
      at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1031)
      at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:994)
      at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:737)
      at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2454)
      at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:745)
      at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1572)
      at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1536)
      at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
      at com.sun.tools.javac.main.Main.compile(Main.java:523)
      at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
      at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
      at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129)
      at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] An unknown compilation problem occurred
      [INFO] 1 error
      [INFO] -------------------------------------------------------------


        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: