Skip to content

Commit

Permalink
fix: apply non null plugin patch to the correct class (#1199)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati authored Jan 12, 2025
1 parent be469a4 commit c4db60a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.vaadin.hilla.EndpointUtil;
import com.vaadin.hilla.Hotswapper;
import com.vaadin.hilla.engine.EngineConfiguration;
import com.vaadin.hilla.parser.utils.ConfigList;
import com.vaadin.hilla.push.PushEndpoint;
import com.vaadin.hilla.push.PushMessageHandler;
import com.vaadin.hilla.signals.core.registry.SecureSignalsRegistry;
Expand Down Expand Up @@ -109,7 +108,7 @@ public static void addClassVisitors(BuildProducer<BytecodeTransformerBuildItem>
SecurityContextHolder_setContext,
SecurityContextHolder_clearContext));
producer.produce(new BytecodeTransformerBuildItem(
ConfigList.Processor.class.getName(),
"com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig$Processor",
(s, classVisitor) -> new NonnullPluginConfigProcessorClassVisitor(classVisitor)));
// Remove sort method that references a type that is not in the shaded deps jar
producer.produce(new BytecodeTransformerBuildItem(Sort.class.getName(), (className, classVisitor) -> {
Expand Down

0 comments on commit c4db60a

Please sign in to comment.