New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom classloader not taken into account in EnumInflater #12
Comments
Good catch - thanks! Just published a fix in latest 2.8.1 build of 0.0.8-SNAPSHOT - please update and let me know if this fixes the issue. Please let me know if you need 2.9.0 instead - we are crunching toward an internal release and I need to sort out some merge issues with that branch. |
OK, fresh build of 0.0.8-SNAPSHOT for 2.9.0-1 just published. I suppose I need to re-branch and switch over to 2.9.1- it never ends... :) |
Wow, now that was fast, thanks! I don't need 2.9 since Play is for now running on 2.8.1 - 2.9.1 will be used in Play 2.0 which is likely to reach maturity in a couple of months. I'll give this a shot as soon as possible. |
Hi Rose, I'm afraid it does not work entirely yet, now I get a
The stacktrace says:
Thanks, Manuel |
…hod that uses the list of classloaders in context to resolve.
Sorry about that! Searched for every use of Class.forName and On 9 September 2011 08:30, Manuel Bernhardt
|
It's getting closer! I now got one left here, it seems:
|
Thanks, Manuel, I apologise for the delay - was working all weekend. Just published a snapshot build that replaced every naked Class.forName with one that respects custom classloaders. |
Thanks Rose, it works like a charm now! |
On line 378 in
Inflaters
, the Enumeration clazz is fetched like this:When using this with a custom classLoader such as in the Play environment, Enumerations can't be found.
The text was updated successfully, but these errors were encountered: