sergiogonzalez/liferay-portal — pull request #101 by matethurzo (2012-01-26 13:10:06+00:00)
Title: LPS-25049

Hi Sergio,

You can use the PortalClassInvoker to invoke into the portal's context, using the portal class loader. This class' invoke method uses the MethodKey object to handle some parameter types, and this MethodKey wasn't prepared for primitive type calls. As it is also stated in the LPS ticket, when something is called with a primitive boolean parameter it will throw an exception as it is cannot find class for the string "boolean".

This commit prepares the MethodKey for using these primitive types.

Thanks,

Máté