Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-144

ClassFabUtils.addNoOpMethod(...) doesn't work with functions returns long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • framework
    • None

    Description

      When I wanted to use hivemind.lib.PlaceholderFactory to create a core implementation for my interface which contains method returns long, I got the error messge: wrong return type ...

      After study the source code, I found this is because ClassFabUtils.addNoOpMethod(...), it should return 0L for methods like this, instead of 0.

      The attached source file works for me.

      Attachments

        1. ClassFabUtils.java
          5 kB
          Robert Luo

        Activity

          People

            Unassigned Unassigned
            robortluo Robert Luo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: