-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
@ParameterizedTest
fails to convert String
to Class
with custom ClassLoader
#3291
Comments
FYI: the following is the code in question. Lines 286 to 293 in ce8dcbb
To fix it, I'd use the |
Good catch! Yes, that would be the best solution. Though having glanced at the code I realised that this is probably not trivial because |
To be honest, I was not requesting that someone else submit a PR for this. We would prefer that we collectively complete the other open issues before spending much time on this one. I already had coded a 90% solution in my mind and was planning to go with that. However, now that you've taken the time to submit a PR, I'll see if I can take a look at it, but that will potentially take more of my time than implementing the fix myself. |
Sorry @sbrannen, the goal was to make your life easier! If it's easier for you to go with the solution you've implemented, I won't be offended in the least if you don't use my PR. |
@ParameterizedTest
fails to convert String
to Class
inside OSGi framework@ParameterizedTest
fails to convert String
to Class
with custom ClassLoader
Hi @kriegfrj,
Yes, of course. I totally understand that. And I assume that you also enjoyed drafting a solution, or I at least hope you enjoyed it. 😉
Thank you for your understanding. Very much appreciated! 👍 If you'd like to view what I had in mind (and completed), see commit f6e73ac. |
Overview
This is a follow up to #3279.
See also: #3279 (comment)
The assumption is that the following test case fails when running within OSGi.
The text was updated successfully, but these errors were encountered: