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

Error at Bits.incl on compilation

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      ADDITIONAL SYSTEM INFORMATION :
      os :Mac
      Information:java: @Data 进入开始
      Information:java: @Data process [com.meetvr.sunflower.admin.adminuser.model.AdminUser] begin!
      Information:java: @Data process [AdminUser] begin!
      Information:java: @Data process [AdminUser] end!
      Information:java: @Data 结束
      Information:java: 编译器 (1.8.0_211) 中出现异常错误。如果在 Bug Database (http://bugs.java.com) 中没有找到该错误, 请通过 Java Bug 报告页 (http://bugreport.java.com) 建立该 Java 编译器 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。
      Information:java: at com.sun.tools.javac.util.Assert.check(Assert.java:94)
      Information:java: at com.sun.tools.javac.util.Bits.incl(Bits.java:186)
      Information:java: at com.sun.tools.javac.comp.Flow$AssignAnalyzer.initParam(Flow.java:1858)
      Information:java: at com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitMethodDef(Flow.java:1807)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
      Information:java: at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
      Information:java: at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:404)
      Information:java: at com.sun.tools.javac.comp.Flow$AssignAnalyzer.scan(Flow.java:1382)
      Information:java: at com.sun.tools.javac.comp.Flow$AssignAnalyzer.visitClassDef(Flow.java:1749)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
      Information:java: at com.sun.tools.javac.comp.Flow$AssignAnalyzer.analyzeTree(Flow.java:2446)
      Information:java: at com.sun.tools.javac.comp.Flow$AssignAnalyzer.analyzeTree(Flow.java:2429)
      Information:java: at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:211)
      Information:java: at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1327)
      Information:java: at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1296)
      Information:java: at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
      Information:java: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
      Information:java: at com.sun.tools.javac.main.Main.compile(Main.java:523)
      Information:java: at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      Information:java: at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      Information:java: at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:190)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:458)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:328)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:253)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:211)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1328)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:1008)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1075)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:969)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:798)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:380)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:178)
      Information:java: at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:139)
      Information:java: at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:302)
      Information:java: at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:135)
      Information:java: at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:228)
      Information:java: at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
      Information:java: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      Information:java: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      Information:java: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      Information:java: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Information:java: at java.lang.Thread.run(Thread.java:748)
      Information:java: Errors occurred while compiling module 'sunflower-admin'
      Information:javac 1.8.0_211 was used to compile java sources
      Information:2019-09-27 17:44 - Build completed with 2 errors and 0 warnings in 4 s 890 ms
      Error:java: java.lang.AssertionError: Value of x -1
      Error:java: at com.sun.tools.javac.util.Assert.error(Assert.java:133)

      A DESCRIPTION OF THE PROBLEM :
      I wrote a plugin similar to Lombox, but I have no problem after compiling and packaging with maven, but I am prompted to compile it when I use it

      REGRESSION : Last worked in version 8


      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              psonal Pallavi Sonal (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: