Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903620

jasm: the tool fails if the class name of an inner class is this_class or super_class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • asm_tools_8.0
    • tools

      This is a regression caused by adding support for 'this_class/super_class' entries - CODETOOLS-7903558:

      JdisJasmWorks17221649995522723990.java (30:16) Error: Either name or Constant Pool index expected, got "<this_class> [85]"
        public Method this_class:"(Lorg/openjdk/asmtools/jasm/ClassData$CoreClasses$PLACE;Lorg/openjdk/asmtools/jasm/ConstCell;)V":"(Lorg/openjdk/asmtools/jasm/ClassData$CoreClasses$PLACE;Lorg/openjdk/asmtools/jasm/ConstCell<*>;)V"
                      ^
      JdisJasmWorks17221649995522723990.java (49:16) Error: Either name or Constant Pool index expected, got "<super_class> [86]"
        public Method super_class:"(Lorg/openjdk/asmtools/jasm/ClassData$CoreClasses$PLACE;Lorg/openjdk/asmtools/jasm/ConstCell;)V":"(Lorg/openjdk/asmtools/jasm/ClassData$CoreClasses$PLACE;Lorg/openjdk/asmtools/jasm/ConstCell<*>;)V"
                      ^
      JdisJasmWorks17221649995522723990.java (68:16) Error: Either name or Constant Pool index expected, got "<this_class> [85]"
        public Method this_class:"(Lorg/openjdk/asmtools/jasm/ConstCell;)V":"(Lorg/openjdk/asmtools/jasm/ConstCell<*>;)V"
                      ^
      JdisJasmWorks17221649995522723990.java (88:16) Error: Either name or Constant Pool index expected, got "<super_class> [86]"
        public Method super_class:"(Lorg/openjdk/asmtools/jasm/ConstCell;)V":"(Lorg/openjdk/asmtools/jasm/ConstCell<*>;)V"
                      ^
      JdisJasmWorks17221649995522723990.java (108:16) Error: Either name or Constant Pool index expected, got "<this_class> [85]"
        public Method this_class:"()Lorg/openjdk/asmtools/jasm/ConstCell;":"()Lorg/openjdk/asmtools/jasm/ConstCell<*>;"
                      ^
      JdisJasmWorks17221649995522723990.java (129:16) Error: Either name or Constant Pool index expected, got "<super_class> [86]"
        public Method super_class:"()Lorg/openjdk/asmtools/jasm/ConstCell;":"()Lorg/openjdk/asmtools/jasm/ConstCell<*>;"
                      ^
      6 error(s)
      JdisJasmWorks14220440161711403130.java (93:56) Error: Either name or Constant Pool index expected, got "<this_class> [85]"
               invokevirtual Method ClassData$CoreClasses.this_class:"(Lorg/openjdk/asmtools/jasm/ClassData$CoreClasses$PLACE;Lorg/openjdk/asmtools/jasm/ConstCell;)V";
                                                              ^
      1 error(s)
      JdisJasmWorks7075826855074029768.java (6840:56) Error: Either name or Constant Pool index expected, got "<super_class> [86]"
               invokevirtual Method ClassData$CoreClasses.super_class:"(Lorg/openjdk/asmtools/jasm/ClassData$CoreClasses$PLACE;Lorg/openjdk/asmtools/jasm/ConstCell;)V";
                                                              ^
      1 error(s)
      JdisJasmWorks7929375517498511475.java (943:56) Error: Either name or Constant Pool index expected, got "<this_class> [85]"
               invokevirtual Method ClassData$CoreClasses.this_class:"()Lorg/openjdk/asmtools/jasm/ConstCell;";
                                                              ^
      1 error(s)
      /home/jvanek/git/asmtools/maven/target/classes/org/openjdk/asmtools/jasm/ClassData$CoreClasses.class

            lkuskov Leonid Kuskov
            lkuskov Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: