Skip to content

Commit

Permalink
fix: add missing reflection hints for menu (#20476)
Browse files Browse the repository at this point in the history
Fixes #20458
  • Loading branch information
mcollovati authored Nov 14, 2024
1 parent f1dd1c9 commit 9f41a5d
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
import org.springframework.core.io.ClassPathResource;

import com.vaadin.flow.di.LookupInitializer;
import com.vaadin.flow.router.MenuData;
import com.vaadin.flow.router.internal.DefaultErrorHandler;
import com.vaadin.flow.server.menu.AvailableViewInfo;
import com.vaadin.flow.server.menu.RouteParamType;

/**
* Registers runtime hints for Spring 3 native support.
Expand Down Expand Up @@ -106,7 +109,9 @@ private String[] getClasses() {
"org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter",
"org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestWrapper",
"com.fasterxml.jackson.databind.ser.std.ToStringSerializer",
DefaultErrorHandler.class.getName() };
DefaultErrorHandler.class.getName(), MenuData.class.getName(),
AvailableViewInfo.class.getName(),
RouteParamType.class.getName() };
}

}

0 comments on commit 9f41a5d

Please sign in to comment.