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

Grails Integration #431

Closed
sergioavaldez opened this Issue Jul 28, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@sergioavaldez

sergioavaldez commented Jul 28, 2013

In order to integrate this library i just change these lines;

org.bridj.BridJ.register()

Line 192:

Class<?> type = Class.forName(name, false, Platform.getClassLoader());

org.bridj.Platform.getClassLoader()

Line 93:

return Thread.currentThread().getContextClassLoader();

Just as suggestion, i have not tested in other environment, but it works fine in grails development environment.

ochafik added a commit that referenced this issue Jul 28, 2013

BridJ: prefer using Thread.getContextClassLoader in Platform.getClass…
…Loader (attempt to ease support for Grails, see issue #431)
@ochafik

This comment has been minimized.

Show comment
Hide comment
@ochafik

ochafik Jul 28, 2013

Member

Hi @sergioavaldez ,

Thanks for your report + suggestion.
I've sent that in, should be able to test it soon on problematic platforms (mainly, Android).

Cheers

Member

ochafik commented Jul 28, 2013

Hi @sergioavaldez ,

Thanks for your report + suggestion.
I've sent that in, should be able to test it soon on problematic platforms (mainly, Android).

Cheers

@ochafik ochafik closed this Jul 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment