You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wile working on #5053, we noticed that even if it is state that RecorderContext#classProxy can be replaced with i.e. Class#forName, that does not seems to work and it is not clear if this is because of a Quarkus issue or a mis-usage.
@essobedo I think the issue here is that the compiled class does not exists at build time as it is juts part of a GeneratedClassBuildItem and I may not be knowvn by the classloader and so maybe
the configureLanguage should depends on the GeneratedClassBuildItem
the CLass.forName could be done in the runtime part, at that point I think the class should exists.
## Motivation
The first proposal to replace `RecorderContext#classProxy` works but is suboptimal, let's use the approach recommended by Quarkus Team members.
## Modifications:
* Removes the common recorder with a method allowing to delay the loading of the generated classes
* Loads the class in the recorder methods
Description
Wile working on #5053, we noticed that even if it is state that
RecorderContext#classProxy
can be replaced with i.e.Class#forName
, that does not seems to work and it is not clear if this is because of a Quarkus issue or a mis-usage.Refs:
The text was updated successfully, but these errors were encountered: