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

javac crash in com.sun.tools.javac.code.Symbol.isSubClass(Symbol.java:447)

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      Information:Using javac 1.8.0_25 to compile java sources
      Information:java: 编译器 (1.8.0_25) 中出现异常错误。 如果在 Bug Parade 中没有找到该错误, 请在 Java Developer Connection (http://java.sun.com/webapps/bugreport) 中建立 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。
      Information:java: at com.sun.tools.javac.code.Symbol.isSubClass(Symbol.java:447)
      Information:java: at com.sun.tools.javac.code.Symbol.isMemberOf(Symbol.java:456)
      Information:java: at com.sun.tools.javac.code.Symbol$MethodSymbol.overrides(Symbol.java:1469)
      Information:java: at com.sun.tools.javac.code.Types$ImplementationCache.implementationInternal(Types.java:2671)
      Information:java: at com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2653)
      Information:java: at com.sun.tools.javac.code.Types.implementation(Types.java:2682)
      Information:java: at com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1529)
      Information:java: at com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1518)
      Information:java: at com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:416)
      Information:java: at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:402)
      Information:java: at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:362)
      Information:java: at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1448)
      Information:java: at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1618)
      Information:java: at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1710)
      Information:java: at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1662)
      Information:java: at com.sun.tools.javac.comp.DeferredAttr$DeferredChecker$2.lookup(DeferredAttr.java:1325)
      Information:java: at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3325)
      Information:java: at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3310)
      Information:java: at com.sun.tools.javac.comp.DeferredAttr$DeferredChecker.quicklyResolveMethod(DeferredAttr.java:1333)
      Information:java: at com.sun.tools.javac.comp.DeferredAttr$DeferredChecker.visitApply(DeferredAttr.java:1223)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
      Information:java: at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
      Information:java: at com.sun.tools.javac.comp.DeferredAttr$FilterScanner.scan(DeferredAttr.java:901)
      Information:java: at com.sun.tools.javac.comp.DeferredAttr.isDeferred(DeferredAttr.java:1088)
      Information:java: at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:701)
      Information:java: at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1834)
      Information:java: at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:607)
      Information:java: at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:656)
      Information:java: at com.sun.tools.javac.comp.Attr.visitUnary(Attr.java:3033)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCUnary.accept(JCTree.java:1746)
      Information:java: at com.sun.tools.javac.comp.Attr.visitParens(Attr.java:2990)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCParens.accept(JCTree.java:1661)
      Information:java: at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:649)
      Information:java: at com.sun.tools.javac.comp.Attr.visitIf(Attr.java:1599)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1269)
      Information:java: at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:676)
      Information:java: at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:692)
      Information:java: at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1142)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
      Information:java: at com.sun.tools.javac.comp.Attr.visitForeachLoop(Attr.java:1207)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1035)
      Information:java: at com.sun.tools.javac.comp.Attr.visitIf(Attr.java:1600)
      Information:java: at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1035)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
      Information:java: at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4342)
      Information:java: at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4252)
      Information:java: at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4181)
      Information:java: at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4156)
      Information:java: at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1248)
      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:166)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:423)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:290)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:197)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:168)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1237)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:911)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:983)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:870)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:696)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:387)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:194)
      Information:java: at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)
      Information:java: at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:294)
      Information:java: at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)
      Information:java: at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:232)
      Information:java: at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:44)
      Information:java: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      Information:java: at java.util.concurrent.FutureTask.run(Unknown Source)
      Information:java: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      Information:java: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      Information:java: at java.lang.Thread.run(Unknown Source)
      Information:java: Errors occurred while compiling module 'sportsHealth'
      Information:2017/12/15 9:13 - Compilation completed with 1 error and 0 warnings in 6s 225ms
      Error:java: java.lang.AssertionError: isSubClass K


      REPRODUCIBILITY :
      This bug can be reproduced rarely.

            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: