-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Currently generated source classes for rocker templates include something like
static {
PlainTextUnloadedClassLoader loader = PlainTextUnloadedClassLoader.tryLoad(gradleProperties.class.getClassLoader(), gradleProperties.class.getName() + "$PlainText", "UTF-8");
PLAIN_TEXT_0_0 = loader.tryGet("PLAIN_TEXT_0_0");
PLAIN_TEXT_1_0 = loader.tryGet("PLAIN_TEXT_1_0");
PLAIN_TEXT_2_0 = loader.tryGet("PLAIN_TEXT_2_0");
}
The PlainText class is available in the source code and thus dynamic classloading is not necessary. This breaks compatibility with GraalVM and requires a lot of manual work to get past it. Can you describe the reason for this behavior? Is there a flag or are you willing to support a flag to allow for direct class access?
Metadata
Metadata
Assignees
Labels
No labels