Invoking void method on (at least) Services from MixinDeclaration causes 
exception to be thrown
-----------------------------------------------------------------------------------------------

                 Key: QI-258
                 URL: http://issues.ops4j.org/browse/QI-258
             Project: Qi4j
          Issue Type: Bug
          Components: Core Runtime
    Affects Versions: 1.2
         Environment: Any.
            Reporter: Stanislav Muhametsin
            Assignee: Rickard Öberg
         Attachments: InvokeServiceFromModuleAssemblyTest.java

Assuming we have {{ModuleAssembly module}} and a service of type 
{{TestService}} with method {{void voidMethod()}}, the code
{noformat}
module.forMixin( TestService.class ).declareDefaults().voidMethod();
{noformat}
causes exception: {{java.lang.IllegalArgumentException: void is not visible 
from class loader}}.

Test case is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to