You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Robert Luo (JIRA)" <hi...@jakarta.apache.org> on 2005/08/03 10:35:36 UTC
[jira] Created: (HIVEMIND-144) ClassFabUtils.addNoOpMethod(...) doesn't work with functions returns long
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
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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Closed: (HIVEMIND-144) ClassFabUtils.addNoOpMethod(...) doesn't work with functions returns long
Posted by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org>.
[ 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Updated: (HIVEMIND-144) ClassFabUtils.addNoOpMethod(...) doesn't work with functions returns long
Posted by "Robert Luo (JIRA)" <hi...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/HIVEMIND-144?page=all ]
Robert Luo updated HIVEMIND-144:
--------------------------------
Attachment: ClassFabUtils.java
> 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
> 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org