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

AIOOBE at com.sun.tools.javac.jvm.ClassReader.readPool()

    Details

    • Type: Bug
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      A DESCRIPTION OF THE PROBLEM :
      Information:java: 编译器 (1.8.0_161) 中出现异常错误。如果在 Bug Database (http://bugs.java.com) 中没有找到该错误, 请通过 Java Bug 报告页 (http://bugreport.java.com) 建立该 Java 编译器 Bug。请在报告中附上您的程序和以下诊断信息。谢谢。
      Information:java: java.lang.ArrayIndexOutOfBoundsException: 34
      Information:java: at com.sun.tools.javac.jvm.ClassReader.readPool(ClassReader.java:493)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.readName(ClassReader.java:602)
      Information:java: at com.sun.tools.javac.jvm.ClassReader$10.read(ClassReader.java:1103)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1381)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.readClassAttrs(ClassReader.java:1396)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2226)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2324)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2511)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2442)
      Information:java: at com.sun.tools.javac.jvm.ClassReader.access$000(ClassReader.java:76)
      Information:java: at com.sun.tools.javac.jvm.ClassReader$1.complete(ClassReader.java:240)
      Information:java: at com.sun.tools.javac.code.Symbol.complete(Symbol.java:574)
      Information:java: at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1037)
      Information:java: at com.sun.tools.javac.code.Symbol$ClassSymbol.getInterfaces(Symbol.java:1047)
      Information:java: at com.sun.tools.javac.code.Types$19.visitClassType(Types.java:2397)
      Information:java: at com.sun.tools.javac.code.Types$19.visitClassType(Types.java:2388)
      Information:java: at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:786)
      Information:java: at com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4652)
      Information:java: at com.sun.tools.javac.code.Types.interfaces(Types.java:2385)
      Information:java: at com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2774)
      Information:java: at com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2709)
      Information:java: at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4571)
      Information:java: at com.sun.tools.javac.code.Types$MembersClosureCache.visitClassType(Types.java:2777)
      Information:java: at com.sun.tools.javac.code.Types.membersClosure(Types.java:2797)
      Information:java: at com.sun.tools.javac.code.Types$ImplementationCache.get(Types.java:2672)
      Information:java: at com.sun.tools.javac.code.Types.implementation(Types.java:2704)
      Information:java: at com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1539)
      Information:java: at com.sun.tools.javac.code.Symbol$MethodSymbol.implementation(Symbol.java:1528)
      Information:java: at com.sun.tools.javac.comp.Resolve.notOverriddenIn(Resolve.java:419)
      Information:java: at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:405)
      Information:java: at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:365)
      Information:java: at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1463)
      Information:java: at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1633)
      Information:java: at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1704)
      Information:java: at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1677)
      Information:java: at com.sun.tools.javac.comp.Resolve$9.doLookup(Resolve.java:2436)
      Information:java: at com.sun.tools.javac.comp.Resolve$BasicLookupHelper.lookup(Resolve.java:3097)
      Information:java: at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3348)
      Information:java: at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2433)
      Information:java: at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2427)
      Information:java: at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:3396)
      Information:java: at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3278)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1897)
      Information:java: at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:576)
      Information:java: at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1825)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
      Information:java: at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:625)
      Information:java: at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1593)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)
      Information:java: at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:645)
      Information:java: at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:661)
      Information:java: at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1124)
      Information:java: at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
      Information:java: at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1013)
      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:4364)
      Information:java: at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4272)
      Information:java: at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4201)
      Information:java: at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4176)
      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:195)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:460)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:330)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:255)
      Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:213)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1324)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:1004)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1071)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:965)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:794)
      Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:376)
      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:288)
      Information:java: at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:121)
      Information:java: at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:228)
      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 'overseas_dia_java_impl'
      Information:javac 1.8.0_161 was used to compile java sources
      Information:Modules "overseas_dia_java", "overseas_dia_java_service", "overseas_dia_java_impl", "overseas_dia_server_dao" were fully rebuilt due to project configuration/dependencies changes
      Information:2019/11/8 13:23 - Build completed with 1 error and 0 warnings in 12 s 436 ms
      Error:java: Compilation failed: internal java compiler error
      D:\haiwai\server_overseas_business_java\overseas_dia_java_impl\src\main\java\com\fenqile\overseas\dia\impl\fee\FeeServiceImpl.java
          Information:Information:java: 某些输入文件使用了未经检查或不安全的操作。
          Information:Information:java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: