-
Notifications
You must be signed in to change notification settings - Fork 375
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
Add ClassLoader to CompileOptions in order to allow for overriding the ClassLoader #72
Comments
Thanks for reporting this. Indeed, we've solved this in the next release through #67 |
In fact, no. Further investigation needed. |
The custom class loader feature has been implemented. But I will also implement a breaking change that avoids re-loading a previously compiled class by default. I don't think that's what anyone really wants. See #76 |
Hmm, no in fact #76 cannot be implemented. The current implementation prevents |
I will revert this change. Unfortunately, providing a custom |
This appears to be useful for jOOQ's code generator as well, including for:
A quick attempt at re-implementing this seems to work for jOOQ (whose code generation plugin creates its own I'll try this again. |
I'm no longer running into these errors from: Perhaps that was a JDK bug, at the time? |
Fixed for jOOR 0.9.15 |
Time for a release, too. |
Expected behavior and actual behavior:
Using the example as presented in the README,
If the text has to be changed to "Hi World!" and the class is recompiled, the below code still prints "Hello World!"
One way to ensure the class gets recompiled is by using different classloaders during compile. Can we use a custom classloader for the Reflect.compile() method. It was raised in #64.
Steps to reproduce the problem:
Mentioned above.
Versions:
The text was updated successfully, but these errors were encountered: