Harmony
  1. Harmony
  2. HARMONY-6245

NoSuchMethod error with three-level hierarchy

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 5.0M10
    • Fix Version/s: 5.0M11
    • Component/s: VM
    • Labels:
      None
    • Environment:

      Description

      Running the attached class produces:
      java.lang.NoSuchMethodError: com/sap/sql/sqlparser/SQLParser.resetTokenBuffer()V while resolving constant pool entry at index 9 in class Test
      at Test.main(Test.java:13)

      The hierarchy used is:
      public class SQLParser extends LLkParser
      public class LLkParser extends Parser

      The method resetTokenBuffer() however can be found in antlr.Parser

      Running the same with SunVM produces no such Error

      1. NoSuchMethod.zip
        824 kB
        Hristo Spaschev Iliev

        Activity

        Hristo Spaschev Iliev created issue -
        Hristo Spaschev Iliev made changes -
        Field Original Value New Value
        Attachment NoSuchMethod.zip [ 12411773 ]
        Hristo Spaschev Iliev made changes -
        Description Running the attached class produces:
          java.lang.NoSuchMethodError: com/sap/sql/sqlparser/SQLParser.resetTokenBuffer()V while resolving constant pool entry at index 9 in class Test
                  at Test.main(Test.java:13)

        The hierarchy used is:
           public class SQLParser extends LLkParser
           public class LLkParser extends Parser

        The method resetTokenBuffer() however can be found in antlr.Parser
        Running the attached class produces:
          java.lang.NoSuchMethodError: com/sap/sql/sqlparser/SQLParser.resetTokenBuffer()V while resolving constant pool entry at index 9 in class Test
                  at Test.main(Test.java:13)

        The hierarchy used is:
           public class SQLParser extends LLkParser
           public class LLkParser extends Parser

        The method resetTokenBuffer() however can be found in antlr.Parser

        Running the same with SunVM produces no such Error
        Tim Ellison made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Tim Ellison [ tellison ]
        Fix Version/s 5.0M11 [ 12314031 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Tim Ellison
            Reporter:
            Hristo Spaschev Iliev
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development