[ http://issues.apache.org/jira/browse/HIVEMIND-144?page=all ]
Knut Wannheden closed HIVEMIND-144:
-----------------------------------
Fix Version: 1.1
Resolution: Fixed
Thanks for the report and the fix. The fix has been committed to the SVN
repository. The addNoOpMethod() method now in addition also returns 0.0d and
0.0f for the return types double and float respectively.
> ClassFabUtils.addNoOpMethod(...) doesn't work with functions returns long
> -------------------------------------------------------------------------
>
> Key: HIVEMIND-144
> URL: http://issues.apache.org/jira/browse/HIVEMIND-144
> Project: HiveMind
> Type: Bug
> Components: framework
> Versions: 1.1
> Reporter: Robert Luo
> Fix For: 1.1
> Attachments: ClassFabUtils.java
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]