LPS 33812

Hi Shinn,

For the reflection part, I had to serialize and deserialize the returned object from invoking the method in WordsUtil. I couldn't use the returned object if I don't serialize and deserialize it. It would give me a class cast exception because the same class (InvalidWord) was loaded up in two class loaders (one is in the portal).

I also added your changes from the previous pull request: https://github.com/brianchandotcom/liferay-portal/pull/15398

Thanks,
Eric